> If that's the case (you didn't mention that before) - then it means > that you incorrectly set the scaling transform so that the image > isn't drawing 1:1. > > However, it still remains that the JPEG (Joint PHOTOGRAPHIC Expert > Group) file format is NOT suitable for non-photo data. > > Leonard >
Hi Leonard, Thanks for the response. I listed all the code above for drawing the image, how is it not set 1:1? Even when I view the pdf in acrobat pro with the points ruler up, the image is the right dimensions. I realize that jpeg isn't the best format to be used but most of my users only have jpegs so I allow jpg, png, gif, tiff files to be used as they all can be used with iText. I tried everything from 72 dpi to 450dpi with no real change. I did try a png as well by the way and it was still dithered. Like you said , all the photos I add into my pdf's look fine. It seems like the PDF is reducing quality at some other level? Dominic ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar