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
Posts: 186
Joined: Tue, 2007-05-08, 17:45

Print color images

#1 Post by st80rules » Mon, 2016-09-26, 19:58


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?


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

Re: Print color images

#2 Post by J. Riesmeier » Mon, 2016-10-24, 13:57

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