# HG changeset patch # User Sebastien Jodogne # Date 1558002707 -7200 # Node ID 05881bf99c83bac2f9c6b1b95add0ce12e30787d # Parent 56ea9c476dba37f1d63f0c93923179b5227b8e86 Allow the serialization of signed 16bpp images in PAM format diff -r 56ea9c476dba -r 05881bf99c83 Core/Images/PamWriter.cpp --- 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; diff -r 56ea9c476dba -r 05881bf99c83 NEWS --- 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)