# HG changeset patch # User Sebastien Jodogne # Date 1507633220 -7200 # Node ID 715476b5d671f868c62581d5750c308f9a9f475e # Parent 23f5ff059ce2d13f82d68cf10341df44174e94a6 fix diff -r 23f5ff059ce2 -r 715476b5d671 Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp --- a/Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp Tue Oct 10 12:51:11 2017 +0200 +++ b/Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp Tue Oct 10 13:00:20 2017 +0200 @@ -247,6 +247,11 @@ case OrthancPluginPixelFormat_RGB24: return 3; +#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 3, 1) + case OrthancPluginPixelFormat_RGB48: + return 6; +#endif + default: throw std::runtime_error("Unsupport pixel format"); }