iText doesn't modify images. If it looks blurry the problem (if there's
a problem) is the viewer.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Ulvi Cetin
> Sent: Thursday, February 23, 2006 5:51 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Blurry images
> 
> 
> 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=k&kid0944&bid$1720&dat1642
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
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

Reply via email to