diff Framework/Toolbox/MessagingToolbox.cpp @ 178:6dafcdec4b87 wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Mar 2018 17:03:51 +0100
parents e2fe9352f240
children fccffbf99ba1
line wrap: on
line diff
--- a/Framework/Toolbox/MessagingToolbox.cpp	Fri Mar 09 12:32:01 2018 +0100
+++ b/Framework/Toolbox/MessagingToolbox.cpp	Tue Mar 13 17:03:51 2018 +0100
@@ -386,7 +386,7 @@
       float offset = static_cast<float>(stretchLow) / scaling;
       
       Orthanc::ImageProcessing::Convert(*image, *reader);
-      Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling);
+      Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling, true);
 
 #if 0
       /*info.removeMember("PixelData");