diff Core/Images/PamWriter.cpp @ 3377:05881bf99c83

Allow the serialization of signed 16bpp images in PAM format
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 May 2019 12:31:47 +0200
parents 4e43e67f8ecf
children 94f4a18a79cc
line wrap: on
line diff
--- a/Core/Images/PamWriter.cpp	Wed May 15 16:30:24 2019 +0200
+++ b/Core/Images/PamWriter.cpp	Thu May 16 12:31:47 2019 +0200
@@ -58,6 +58,7 @@
         tupleType = "GRAYSCALE";
         break;
           
+      case PixelFormat_SignedGrayscale16:
       case PixelFormat_Grayscale16:
         maxValue = 65535;
         channelCount = 1;