Hi, I import a logo in a document as below:
Image logo = Image.getInstance(directory + "logo_b.jpg"); logo.scalePercent(100); doc.add(logo); The logo prints smaller than the normal size (compared to a Word document) and thus it is blurry. The size of the original image on the printed paper is about 10.3cm and the size of the image in the printed PDF document is 9.1cm. When I do logo.scaledWidth() and logo.scaledHeight(), I get the original size of the image (269x44). I cannot figure out what might be the reason. Thanks. Ulvi. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions