> I know JavaScript isn't related to this forum, I was just > giving you a bit > more detail on what my overall goal is. Now I already use > ImageMagick to > render images from the PDF, I set it to 72 DPI so that points=pixels. > Although now that I think about it, since an image can be > resized to 100 > pixels and still be 72 DPI, the position wouldn't match at all.
Bingo. Without knowing what the original dimensions and resolution (its transformation matrix) are on a given image, you have no way of knowing how to render the image in order to produce a 72 DPI version. --Mark Storer Senior Software Engineer Cardiff.com #include <disclaimer> typedef std::Disclaimer<Cardiff> DisCard; ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/