diff Core/Enumerations.h @ 2423:5a7c5c541a1d

Built-in decoding of palette images
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Oct 2017 21:58:08 +0200
parents 7e217a1cc63f
children 878b59270859
line wrap: on
line diff
--- a/Core/Enumerations.h	Sun Oct 08 11:46:56 2017 +0200
+++ b/Core/Enumerations.h	Mon Oct 09 21:58:08 2017 +0200
@@ -199,14 +199,21 @@
      **/
     PixelFormat_Float32 = 6,
 
-    // This is the memory layout for Cairo (internal use)
+    // This is the memory layout for Cairo (for internal use in Stone of Orthanc)
     PixelFormat_BGRA32 = 7,
 
     /**
      * {summary}{Graylevel, unsigned 32bpp image.}
      * {description}{The image is graylevel. Each pixel is unsigned and stored in 4 bytes.}
      **/
-    PixelFormat_Grayscale32 = 8
+    PixelFormat_Grayscale32 = 8,
+    
+    /**
+     * {summary}{Color image in RGB48 format.}
+     * {description}{This format describes a color image. The pixels are stored in 6
+     * consecutive bytes. The memory layout is RGB.}
+     **/
+    PixelFormat_RGB48 = 9
   };