Aditya Tallapally wrote:

Hello
I am using your tiff2pdf.java program from "iText Tutorial" located @ http://itextdocs.lowagie.com/tutorial/ I observed my input .tif file is fit the page and out put .pdf file is not fit in the page.

Of course not, didn't you read the source code you
pasted in your mail? If you had read it, you would
have seen that the image is scaled and translated:
img.scaleToFit(600, 800);
img.setAbsolutePosition(20, 20);
Tsssk...

I want the output.pdf to look exactly like input.tif, even fitting the page (no shrinking of image)

Use the toolbox plug-in Tools->Convert2Pdf->Tiff2Pdf
and choose original format as page size.
You can open the toolbox as a JWS application with this JNLP file:
http://www.lowagie.com/iText/itext.jnlp
The source code of the plug-in is in the release.
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to