|
Peter, Get yourself a copy of the pdf ref manual and read the sections on rendering and transparency. It is all explained in excruciating detail. Alternatively, just translate into java the code snippet I posted yesterday and incorporate it into your own, and everything should work fine. This assumes that all your images and graphics use the RGB color model. If I have understood my readings correctly, what is happening is that acrobat defaults to the cmyk color space when it does the compositing calculations to render transparency. Whether the transparent objects are vector graphics or images is irrelevant. So you are basically going from RGB->CMYK->RGB, which can result in colors significantly different from the originals. As Leonard mentioned, you set a blending colorspace to explicity tell the pdf viewer app to use whichever colorspace you want in the compositing calculations. This way you can avoid the RGB to CMYK conversion. The code you show below won't work. It suggests to me that maybe you are trying to use an ICC profile? I can post an example of how to do that if you need it. Cheers, Eliot ----- Original Message -----
Sent with DeskNow Lite - Free mail & groupware server http://www.desknow.com |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ 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/
