diff Core/Enumerations.cpp @ 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.cpp	Sun Oct 08 11:46:56 2017 +0200
+++ b/Core/Enumerations.cpp	Mon Oct 09 21:58:08 2017 +0200
@@ -756,6 +756,9 @@
       case PixelFormat_Grayscale32:
         return "Grayscale (unsigned 32bpp)";
 
+      case PixelFormat_RGB48:
+        return "RGB48";
+
       default:
         throw OrthancException(ErrorCode_ParameterOutOfRange);
     }
@@ -1344,6 +1347,9 @@
         assert(sizeof(float) == 4);
         return 4;
 
+      case PixelFormat_RGB48:
+        return 6;
+
       default:
         throw OrthancException(ErrorCode_ParameterOutOfRange);
     }