In case anyone is interested, I have some more information. I'm 95% sure that the image data is OK; the problem is with the embedded ICC profile. I'm 75% sure that the profile is OK, but invalid in this context because it uses a CMYK color space.
Color management isn't my strong suit, but it seems strange to me (assuming I'm correct) that rendering would fail completely if the profile is incorrect. Shouldn't it just fall back to something like DeviceRGB? I would appreciate if anyone can confirm what I've found so I can add something to flag an error before the PDF is created. What I'm think of is getting the ICC_Profile object from the Image, and checking that getColorSpaceType() is valid for image type. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PNG-and-Insufficient-data-for-an-image-tp3817021p3822821.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
