The image has the correct dimensions inside the PDF. You can't compare
sizes as you did. Generally, the bitmap viewer uses pixels and Acrobat
uses the display resolution that may be 96 or 110 dpi.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of diablillo
> Sent: Thursday, January 17, 2008 11:35 PM
> To: [email protected]
> Subject: [iText-questions] 72 DPI Image Still Appearing Larger
>
> Hello,
> I'm having some trouble regarding adding images to a PDF File.
>
> Reading the posts on this forum I resampled the image to 72
> DPI, but it is still appearing larger that it should be.
>
> Original image: logo.png
> <http://www.controltrack.net/itext/logo.png>
> Resulting PDF: result.pdf
> <http://www.controltrack.net/itext/result.pdf>
> Screenshot comparing the 72 DPI image and the resulting PDF
> (also showing the image's resolution): comparison.png
> <http://www.controltrack.net/itext/comparison.png>
>
> I've read all the tutorials in "Itext By Example" as I've
> been a loyal itext user for 3 years now :) I'm so sorry to
> have to bother you, I usually find the answers, but this
> issue is beyond me :(
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/