"
I did try it, but it scales the images down randomly.
Let say I said scale to 20% then for a big image it will be okay, but for
smaller images they get very small.
Also if you have multipage images, they get put on the same page.
If the image size is greater than the PDF document borders only then do I
want to make it small.
Is there some sort of math behind it?
How do I get the PDf document borders?
Also for certain group3 tiff's the images appeared skewed due to the
difference in the X and Y dpi.
When I create a document for putting images in them, do I need to do this
Document doc = new Document(Image) ??.
If I don't then the image is surely getting cut off."


Paulo Soares wrote:
> 
> Image.scalePercent().
> 
> Paulo
> 
> ----- Original Message ----- 
> From: <[EMAIL PROTECTED]>
> To: <iText-questions@lists.sourceforge.net>
> Sent: Monday, June 16, 2008 5:29 PM
> Subject: [iText-questions] Differenct Image sizes
> 
> 
>> Hello ,
>> I am trying to create a PDF with images in it. They may have different 
>> sizes. Currrently if I add a image to a PDF the image size is always cut 
>> off.
>>
>> The image has been scanned ain at 200 or 300 dpi. But only a part of the 
>> image is displayed in the pdf.
>>
>> Please help!!!
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Differenct-Image-sizes-tp17870064p17936931.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to