Mercurial > hg > orthanc
comparison Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp @ 2428:dedc24644cbe
note
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Oct 2017 13:23:16 +0200 |
parents | 715476b5d671 |
children | 878b59270859 |
comparison
equal
deleted
inserted
replaced
2427:715476b5d671 | 2428:dedc24644cbe |
---|---|
201 | 201 |
202 case gdcm::PixelFormat::UINT16: | 202 case gdcm::PixelFormat::UINT16: |
203 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 3, 1) | 203 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 3, 1) |
204 return OrthancPluginPixelFormat_RGB48; | 204 return OrthancPluginPixelFormat_RGB48; |
205 #else | 205 #else |
206 throw std::runtime_error("RGB48 pixel format is only supported by Orthanc >= 1.3.1"); | 206 throw std::runtime_error("RGB48 pixel format is only supported if compiled against Orthanc SDK >= 1.3.1"); |
207 #endif | 207 #endif |
208 | 208 |
209 default: | 209 default: |
210 break; | 210 break; |
211 } | 211 } |