# HG changeset patch # User Sebastien Jodogne # Date 1743857901 -7200 # Node ID e5fb8f7ade592340327ff587f00c4632d204336d # Parent be713f91c3e6d9593072859625f410b088fb0a87 enabled SignedGrayscale16 in deep zoom diff -r be713f91c3e6 -r e5fb8f7ade59 ViewerPlugin/OrthancPyramidFrameFetcher.cpp --- a/ViewerPlugin/OrthancPyramidFrameFetcher.cpp Sat Apr 05 14:52:55 2025 +0200 +++ b/ViewerPlugin/OrthancPyramidFrameFetcher.cpp Sat Apr 05 14:58:21 2025 +0200 @@ -164,6 +164,11 @@ targetFormat = Orthanc::PixelFormat_Grayscale8; break; + case OrthancPluginPixelFormat_SignedGrayscale16: + sourceFormat = Orthanc::PixelFormat_SignedGrayscale16; + targetFormat = Orthanc::PixelFormat_Grayscale8; + break; + default: throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); }