Search found 2 matches

by vladihan
Mon, 2005-04-11, 16:34
Forum: DCMTK - General
Topic: Writing DIB to Dicom
Replies: 3
Views: 6289

I have DIB and want to create DICOM file from DIB
by vladihan
Mon, 2005-04-11, 15:02
Forum: DCMTK - General
Topic: Writing DIB to Dicom
Replies: 3
Views: 6289

Writing DIB to Dicom

Hi,

i try to write out the Windows DIB using

Code: Select all

dataset->putAndInsertUint8Array(DCM_PixelData, data, dataLength);
The problem is, every row of DIB need to be aligned to DWORD. dcmtk seems to ignore it, it calculate the size of pixel data by means of Columns*Rows.

Please help!