diff OrthancFramework/Sources/Images/ImageProcessing.h @ 4529:5774fe497ff2

fix decoding of images on big-endian architectures
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Feb 2021 21:06:34 +0100
parents fd958175c5b9
children 7053502fbf97
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/ImageProcessing.h	Wed Feb 24 15:07:54 2021 +0100
+++ b/OrthancFramework/Sources/Images/ImageProcessing.h	Wed Feb 24 21:06:34 2021 +0100
@@ -200,5 +200,7 @@
 
     // https://en.wikipedia.org/wiki/YCbCr#JPEG_conversion
     static void ConvertJpegYCbCrToRgb(ImageAccessor& image /* inplace */);
+
+    static void SwapEndianness(ImageAccessor& image /* inplace */);
   };
 }