diff OrthancServer/ParsedDicomFile.cpp @ 815:5dcfdd3bfca9

endianness
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 May 2014 15:52:37 +0200
parents 8ce2f69436ca
children 83f0cae7dfcc
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Thu May 08 15:29:27 2014 +0200
+++ b/OrthancServer/ParsedDicomFile.cpp	Thu May 08 15:52:37 2014 +0200
@@ -1183,10 +1183,10 @@
         case PixelFormat_Grayscale16:
         case PixelFormat_SignedGrayscale16:
         {
-          if (Toolbox::DetectEndianness() != Endianness_Little)
+          /*if (Toolbox::DetectEndianness() != Endianness_Little)
           {
             throw OrthancException(ErrorCode_NotImplemented);
-          }
+            }*/
 
           memcpy(target, reinterpret_cast<const Uint8*>(accessor.GetConstRow(y)), pitch);
           target += pitch;