Re: Encapsulated JPEG in Implicit Transfer Syntax Mathieu Malaterre wrote:
> If anyone is interested in supporting this file: [...]
> Amazingly dcmtk was able to parse it, without no problem.
DCMTK will read the file, but will refuse to write or send the file, because the pixel data is
treated as being of "unknown transfer syntax", and none of the compression/decompression codecs
in DCMTK supports a conversion from unknown to something well-defined.
We added some support for cases like that because the combination of the icon image sequence
and compression/decompression sometimes leads to strange results: compressed images with
uncompressed icons (permitted in DICOM), compressed images with compressed icons (also permitted),
decompressed images where the icon remains compressed (stupid decoder, but seems to happen).
Best regards,
Marco Eichelberg |