Leonard Rosenthol <lrosenth <at> adobe.com> writes: > 3) No Page transparency group, so blending is taking place in CMYK instead of > RGB. > > As to the issue, you are running into the anti-aliasing algorithm conflicting > with the transparency > blending (partially related to #3). Don't use raster images if you don't need > to, and watch the masks.
Obviously the circle example is contrived, but my real use case uses PNG data and raster images from other sources (filtered vector drawings). I've attached to the same dropbox (http://drop.io/z7g211m) an output PDF after adding a call to: PdfWriter.setRGBTransparency(true) to address (3). This adds a transparency group to the Page object, with /CS/DeviceRGB, but the problem persists. Setting the /I flag on that group yields the same result, but from the PDF spec it sounds like that flag doesn't apply to a page anyway. Is there some other way to reconcile the anti-aliasing algorithm? michael ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
