Op 10/05/2012 9:37, Ish Bandhu schreef:

Hi,

I am converting image in pdf, but image size is not coming properly in pdf .


???
As documented, iText looks at the number of pixels and uses them as if they were points. That 's a design decision. Some image types (not all) also contain resolution info. If they do, you can retrieve the number of pixels/inch and use this information to calculate the size in points. However: usually you don't want to display the image at its original size. Usually you want to add an image to a document and make sure it fits a specific area (a table cell, the width of the page,...). In that case, you'll use convenience methods available in iText (documented in "iText in Action - Second Edition".

How we can convert any size of image in pdf by itextsharp.


Your question is too vague to give you a specific answer. Please read the documentation first, or rephrase your question so that it's more specific.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to