Mercurial > hg > orthanc
changeset 2427:715476b5d671
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Oct 2017 13:00:20 +0200 |
parents | 23f5ff059ce2 |
children | dedc24644cbe |
files | Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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"); }