The following lossless JPEG/DICOM file cannot be decompressed by dcmdjpeg: http://gdcm.sourceforge.net/thingies/lena.dcm $ dcmdjpeg lena.dcm raw.dcm F: Bogus Huffman table definition: decompressing file: lena.dcm I have left the Adobe marker for now. Using something like: $ jhead -purejpg lena.jpg makes the problem even harder (seems like color space is lost)
Is an updated test file available? The original link to lena.dcm seems to be broken. Michael (DCMTK Upstream Developer)
Can you try again, sometime sf.net is not very reliable.
The original issue can be reproduced using the `libjpeg-tools` debian package. Issue has been communicated upstream: * https://github.com/thorfdbg/libjpeg/issues/68
See upstream commit: deeda9adbcc148003aa36dc336fcefa4e004cbb2 (and 497043a84df12b85e736c1228f73e0f919926de0)
See upstream commit: deeda9adbcc148003aa36dc336fcefa4e004cbb2 (and 497043a84df12b85e736c1228f73e0f919926de0)