Are you placing the image at 7.5"x1.04" ? Or just dumping it in as is?
-Bill Ensley www.bearprinting.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Iyad Jabri > Sent: Monday, September 24, 2007 9:58 AM > To: [email protected] > Subject: [iText-questions] adding hi-res images > > I'm trying to add a 2250x311 JPG image with 300dpi resolution > to a PDF document, expecting it to take up 7.5"x1.04" of the > page, however, it's taking several inches of space high and > bleeding out of the page width wise, as if it's the normal > 72dpi. I debugged my application and inspected the dpi > attributes (dpiX and dpiY) of the com.lowagie.text.Image, and > it's correctly set to 300dpi. > > Anybody knows what's going on and how I can get the right > resolution used. > > Thanks, > Iyad > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
