Project

General

Profile

Actions

Bug #427

closed

JPEG Decoder does not report an error with malformed pixel data

Added by Jörg Riesmeier about 13 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Library
Target version:
Start date:
2012-06-27
Due date:
% Done:

100%

Estimated time:
Module:
dcmjpeg und andere?
Operating System:
Compiler:

Description

see: http://forum.dcmtk.org/viewtopic.php?f=1&t=3475

Extract from the dump:

(0002,0010) UI =JPEGLossless:Non-hierarchical-1stOrderPrediction #  22, 1 TransferSyntaxUID
...
(7fe0,0010) OW fffe\e000\0000\0000\fffe\e000\b39a\0003\d8ff\c3ff\0b00\0210\0200... # 242610, 1 PixelData

Pixel data on the main dataset level is not encapsulated as Pixel Items. You won't get any warnings or errors from using dcmdjpeg on such a file, but the pixel data is not decompressed, since the decoder assumes that it is already decompressed (for instance in Icon Image Sequence).

The same problem will probably show up in other supported compression types in DCMTK.

Actions

Also available in: Atom PDF