Print color images

Questions regarding the DCMPRINT library, a DCMTK add-on that implements a DICOM Print Management SCP and SCU

Moderator: Moderator Team

Post Reply
Message
Author
st80rules
Posts: 190
Joined: Tue, 2007-05-08, 17:45

Print color images

#1 Post by st80rules »

Hi,

I'm trying to use DCMPrint to print color images, and am not too clear as to how to go about it. The images I send to the printer seem to be correct (i.e. if I open them with my viewer they are color), but at the printer they are grayscale.

I have these settings for the images:

ds->putAndInsertString(DCM_PhotometricInterpretation, "RGB");
ds->putAndInsertUint16(DCM_SamplesPerPixel, 3);
ds->putAndInsertString(DCM_PlanarConfiguration, "1");

and the pixel data is correct (R1 R2 R3, G1 G2 G3, etc).

Is there anything special required to do color?

Thanks

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Print color images

#2 Post by J. Riesmeier »

With "DCMPrint" do you mean this commercial extension from OFFIS?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest