Feature #1052
openIgnore empty PixelDataProviderURL when compressing/decompressing images
0%
Description
Method DcmDataset::chooseRepresentation()
checks if a dataset contains a PixelDataProviderURL element and in this case refuses conversion to a transfer syntax that does not also use pixel data referenced by PixelDataProviderURL. We have received a sample image that contains both valid compressed PixelData and an empty PixelDataProviderURL element. dcmdjpeg refuses to decode this file because of the PixelDataProviderURL. Perhaps we should extend the code in DcmDataset::chooseRepresentation()
to not only check for the presence of PixelDataProviderURL, but to also check if this element is non-empty, so that empty elements added by vendor that does not understand the specification are gracefully ignored.
Sample file available on Caesar in /share/dicom/contrib/20221208_empty_pixeldata_provider_url.
No data to display