Mercurial > hg > orthanc-gdcm
changeset 53:1668af19f8ef
note
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Mon, 05 Jul 2021 08:52:11 +0200 |
| parents | ff8aec4536de |
| children | eefc72357d79 |
| files | Plugin/Plugin.cpp |
| diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;
