changeset 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 56ea9c476dba
children 596cfabd72c5
files Core/Images/PamWriter.cpp NEWS
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
--- a/NEWS	Wed May 15 16:30:24 2019 +0200
+++ b/NEWS	Thu May 16 12:31:47 2019 +0200
@@ -15,6 +15,7 @@
 * Orthanc now accepts "-H 'Transfer-Encoding: chunked'" option from curl
 * Size of the Orthanc static binaries are reduced by compressing ICU data
 * Anonymization: Preserve hierarchical relationships in (0008,1115) [] (0020,000e)
+* Allow the serialization of signed 16bpp images in PAM format
 * Fix issue #136 (C-FIND request fails when found DICOM file does not have certain tags)
 * Fix issue #137 (C-STORE fails for unknown SOP Class although server is configured to accept any)
 * Fix issue #138 (POST to modalities/{name} accepts invalid characters)