comparison Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp @ 2427:715476b5d671

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Oct 2017 13:00:20 +0200
parents 23f5ff059ce2
children dedc24644cbe
comparison
equal deleted inserted replaced
2426:23f5ff059ce2 2427:715476b5d671
245 return 2; 245 return 2;
246 246
247 case OrthancPluginPixelFormat_RGB24: 247 case OrthancPluginPixelFormat_RGB24:
248 return 3; 248 return 3;
249 249
250 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 3, 1)
251 case OrthancPluginPixelFormat_RGB48:
252 return 6;
253 #endif
254
250 default: 255 default:
251 throw std::runtime_error("Unsupport pixel format"); 256 throw std::runtime_error("Unsupport pixel format");
252 } 257 }
253 } 258 }
254 259