It seems there is more to this. After using the code above to save the png,
photoshop told me the image was 72dpi. Using the libpng library I was able to
see that the meta data for the resolution of the new image doesn't exist, but it
does for the original. So the problem seems to be that either BufferedImage or
ImageIO strips the image of any resolution information. Of course this makes it
more difficult to then insert into iText and scale it properly.


-------------------------------------------------------------------------
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
[email protected]
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

Reply via email to