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.

Paulo

----- Original Message ----- 
From: "Olivier Lefevre" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, August 25, 2007 10:25 PM
Subject: [iText-questions] Colors in PdfGraphics2D


> The books says: "Java works in standard Red-Green-Blue (sRGB) as the
> default color space internally, so colors need to be translated." and
> indeed when I ask for java.awt.Color.blue I do not get the Java hue but a
> much darker one. Does that mean that the caller is expected to perform the
> translation? I was hoping the Graphics2D object would do it automatically.
>
> So, what should one do to get the same color? That is not clear.
>
> 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/

Reply via email to