Partha Sarathi-R wrote:
> 
> Hi bruno,
> 
> This is Partha.
> Could you please help me to show an image in a pdf file header as it's 
> own size.

Please keep on the mailing list, don't mail to my private address.

So you are adding an image to the PDF using page events.
Your problem is that the image doesn't have the size you expected.
iText doesn't change the size of images: iText looks at the size
in pixels (not taking into account the resolution).
Read the topic Scaling in the tutorial:
http://itextdocs.lowagie.com/tutorial/objects/images/#transformations
or page 153-154 in the iText book.

best regards,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to