DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2017-06-25, 11:23

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Print color images
PostPosted: Mon, 2016-09-26, 19:58 
Offline

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


Top
 Profile  
 
 Post subject: Re: Print color images
PostPosted: Mon, 2016-10-24, 13:57 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1821
Location: Oldenburg, Germany
With "DCMPrint" do you mean this commercial extension from OFFIS?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group