The color is actually the same, but the rendering is different.

new Color(0,0,255) is still the same color everywhere, it is not converted.

What does change is the color profile used in rendering the color to the
device, ie
Screen, Printer.

Acrobat often tries to simulate a CMYK printer in it's screen rendering.

You can turn this off in the preferences and see the exact same color on the
screen
As you see in Java.

When you print however, you will get a different color as RGB does not map
accurately
To CMYK.

-Bill Ensley
www.bearprinting.com 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Olivier Lefevre
> Sent: Saturday, August 25, 2007 3:16 PM
> To: [email protected]
> Subject: Re: [iText-questions] Colors in PdfGraphics2D
> 
> Paulo Soares wrote:
> > This is all about colorspaces and color management. There 
> are ways to 
> > do that in PDF but it's far from trivial and you'll have to 
> read the 
> > PDF reference to know what to do. Just to have an idea the PDF 
> > reference dedicates about 130 pages on the subject.
> 
> OK but that does not answer my question: does the caller have 
> to perform the translation or does PdfGraphics2D take care of 
> it? What _is_ the cause of the different colors?
> 
> Regards,
> 
> -- O.L.
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and 
> a browser.
> Download your FREE copy of Splunk now >>  
> http://get.splunk.com/ _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to