# HG changeset patch # User Sebastien Jodogne # Date 1625467931 -7200 # Node ID 1668af19f8ef7d1c6f2339ec32fd214662041134 # Parent ff8aec4536de5ba06088b98daa5461f1ff7087a1 note diff -r ff8aec4536de -r 1668af19f8ef Plugin/Plugin.cpp --- a/Plugin/Plugin.cpp Mon Jul 05 08:33:21 2021 +0200 +++ b/Plugin/Plugin.cpp Mon Jul 05 08:52:11 2021 +0200 @@ -344,19 +344,20 @@ { // Prevent transcoding of 1-bit images, as this might crash GDCM // https://groups.google.com/g/orthanc-users/c/xIwrkFRceuE/m/jwxy50djAQAJ - throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented, "Cannot transcode 1bit images"); + throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented, "Cannot transcode 1bpp DICOM images"); } if (reader.GetImage().GetPixelFormat().GetBitsStored() == 16u && syntax == gdcm::TransferSyntax::JPEGExtendedProcess2_4) { /** - * This is a temporary workaround for issue #513 in GDCM: + * This is a temporary workaround for issue #513 in GDCM + * (will be fixed in GDCM 3.0.9): * https://sourceforge.net/p/gdcm/bugs/513/ * https://groups.google.com/g/orthanc-users/c/xt9hwpj6mlQ **/ throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented, - "Transcoding 16bit images to 1.2.840.10008.1.2.4.51 might lead to a crash in GDCM"); + "Transcoding 16bpp images to 1.2.840.10008.1.2.4.51 might lead to a crash in GDCM"); } gdcm::ImageChangeTransferSyntax change;