Project

General

Profile

Actions

Bug #701

closed

DcmPixelData::write() truncates Pixel Data element if output transfer syntax no supported

Added by Jörg Riesmeier almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Library
Target version:
Start date:
2016-11-04
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

See forum posting: http://forum.dcmtk.org/viewtopic.php?f=1&t=4471

When calling DcmFileformat::saveFile(..., EXS_LittleEndianExplicit) on a compressed DICOM dataset no error is returned but a DICOM file is written with an empty Pixel Data element. The reason for this unexpected (and unwanted) behavior seems to be the current implementation of DcmPixelData::write().

Bottom line: if the internally called write() method cannot find an unencapsulated representation for the pixel data, it should return with an error.

Actions #1

Updated by Marco Eichelberg almost 9 years ago

  • Assignee set to Marco Eichelberg
Actions #2

Updated by Marco Eichelberg almost 9 years ago

  • Status changed from New to Closed

Fixed by commit 0bf28e1.

Actions

Also available in: Atom PDF