Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread Bruno Lowagie
zoharat wrote: > > Borders the area inside the PDF page margins. > > We are in the process of buying the book, so I have read only the > documentation available online. For instance, this example about scaling TIFFs and dpi: http://1t3xt.info/examples/browse/?page=example&id=86 It even uses the

Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread zoharat
Borders the area inside the PDF page margins. We are in the process of buying the book, so I have read only the documentation available online. I did use new page and it did put the images on new pages in the document. Certain group 3 TIFF's namely FAX files tend to have different DPI for the

Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread Bruno Lowagie
zoharat wrote: > I did try it, but it scales the images down randomly. That's ONLY true if you use random number for the percentages. > Let say I said scale to 20% then for a big image it will be okay, but for > smaller images they get very small. Hey, that's not random! If you take 20% of 100,

Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread bisoa
Best approach is to make images of size that fits document spaces! You can either create images of proper sizes or resize programmically from your program. -- View this message in context: http://www.nabble.com/Differenct-Image-sizes-tp17870064p17959206.html Sent from the iText - General maili

Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread zoharat
cument 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: > Sent: Monday, June 16, 2008 5:29 P

Re: [iText-questions] Differenct Image sizes

2008-06-16 Thread Paulo Soares
Image.scalePercent(). Paulo - Original Message - From: <[EMAIL PROTECTED]> To: 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. Currre

[iText-questions] Differenct Image sizes

2008-06-16 Thread zbhiwandiwala
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!!! -