On Jan 19, 2007, at 6:13 PM, Eliot M Cline wrote:
> I have been developing an itextsharp app that produces high- 
> quality, atlas-style maps.

        Excellent!  I'd love to see some of the results...


> As previously mentioned on this list, setting any transparency in a  
> pdf doc will potentially alter the display/printing of the  
> originally defined colors.

        Yes and no.  let me clarify...(I keep meaning to write a blog entry  
on this...)

        Acrobat 7 and later ALWAYS use color management to render pages in  
order to produce the highest quality color for your documents.   
Unless a document has an "output intent" present it is ASSUMED that  
you wish to view it using RGB/Monitor space, and so Acrobat sets that  
as the "implicit output intent" for the document.  And if the  
document is entirely in RGB anyway, no conversions necessary.  Again,  
this is ON THE FLY rendering stuff - the document contents are NOT  
affected.

        When transparency is used, things get a bit more complex as there is  
a need for a "blending space", which defines what colorspace to use  
for blending the colors in conjunction with their alpha values.  If  
the colors in the document aren't already in that blending space,  
then they need to be transformed into that space and then processed.   
The result of the blending, which is, again in "blending space" then  
has to be transformed back to "Monitor Space" in order to be rendered  
ot the monitor.  The default blending space, when none is specified,  
is CMYK.   Therefore, if you have RGB colors w/o an explicit blending  
space they are going RGB->CMYK->RGB a VERY lossy operation which  
causes the 'dulling" of the colors.


> This is happening with our maps and we would very much like to  
> figure out how to stop this.
> I have seen from other postings and the pdf ref manual that this  
> problem can be solved by setting the blending colorspace or the  
> transparency group colorspace (maybe they are the same thing?).

        Correct.


> It does not seem that itext can set these. Is this true, or have I  
> just missed something?
>
        
        You can indeed set them with iText - you just have to use low level  
APIs.  I don't recall there being high level ones...



> Other postings seem to indicate that embedding an ICC profile can  
> also solve this problem. My knowledge of this subject is limited,  
> so I would like to ask if this is actually the case before trying  
> to chase down how to do it.
>

        Yes, if you were to tag your data with ICC profiles, then Acrobat  
can do a high quality color conversion and no quality would be lost  
when going RGB->CMYK->RGB.


Leonard

-------------------------------------------------------------------------
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/

Reply via email to