diff Core/Enumerations.cpp @ 2645:89b789366596

Grayscale64 pixel format
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 31 May 2018 08:31:22 +0200
parents 83b8b6743531
children 193ef9c1b731
line wrap: on
line diff
--- a/Core/Enumerations.cpp	Mon May 28 10:54:59 2018 +0200
+++ b/Core/Enumerations.cpp	Thu May 31 08:31:22 2018 +0200
@@ -759,6 +759,9 @@
       case PixelFormat_Grayscale32:
         return "Grayscale (unsigned 32bpp)";
 
+      case PixelFormat_Grayscale64:
+        return "Grayscale (unsigned 64bpp)";
+
       case PixelFormat_RGB48:
         return "RGB48";
 
@@ -1459,6 +1462,9 @@
       case PixelFormat_RGB48:
         return 6;
 
+      case PixelFormat_Grayscale64:
+        return 8;
+
       default:
         throw OrthancException(ErrorCode_ParameterOutOfRange);
     }