Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp @ 4184:dbd74fa2f446
Enable the access to raw frames in Philips ELSCINT1 proprietary compression
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 12 Sep 2020 16:03:48 +0200 |
parents | 1a26daefc3fe |
children | 7112a8af0b63 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Wed Sep 09 14:47:10 2020 +0200 +++ b/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Sat Sep 12 16:03:48 2020 +0200 @@ -134,6 +134,7 @@ // Check whether the DICOM instance contains an image encoded with // the PMSCT_RLE1 scheme. if (!dataset.findAndGetElement(ToDcmtkBridge::Convert(DICOM_TAG_COMPRESSION_TYPE), e).good() || + !dataset.tagExistsWithValue(ToDcmtkBridge::Convert(DICOM_TAG_CONTENT)) || // New in Orthanc 1.7.4 e == NULL || !e->isaString() || !e->getString(c).good() ||