comparison 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
comparison
equal deleted inserted replaced
3376:56ea9c476dba 3377:05881bf99c83
56 channelCount = 1; 56 channelCount = 1;
57 bytesPerChannel = 1; 57 bytesPerChannel = 1;
58 tupleType = "GRAYSCALE"; 58 tupleType = "GRAYSCALE";
59 break; 59 break;
60 60
61 case PixelFormat_SignedGrayscale16:
61 case PixelFormat_Grayscale16: 62 case PixelFormat_Grayscale16:
62 maxValue = 65535; 63 maxValue = 65535;
63 channelCount = 1; 64 channelCount = 1;
64 bytesPerChannel = 2; 65 bytesPerChannel = 2;
65 tupleType = "GRAYSCALE"; 66 tupleType = "GRAYSCALE";