Probably the PNG has transparency and the default colorspace was not changed to RGB.
Paulo ----- Original Message ----- From: "1T3XT info" <[email protected]> To: "Post all your questions about iText here" <[email protected]> Sent: Saturday, June 06, 2009 8:12 AM Subject: Re: [iText-questions] PNG vs TIF images Jason Berk wrote: > I have a pdf that has a table with a black row using white text. It > looks very clear/sharp until I embed a PNG image into the page...at > which point the text becomes noticeably grainy. When using a TIF, I do > not experience the issue. Is this a known "issue" (I hesitate to call > it a bug). Why would the image type make any difference? > > I'll post some sample code if needed... Or a PDF for us to look at. If your table with black row is made up of vector data, there is no reason why it should become "fuzzy" after adding a PNG. How are you creating the PDF? You're not using PdfGraphics2D, are you? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/
