Hii All,
Let me clear my stand. My need is to put image in a A0
size pdf page (2380, 3368). My image size is (1129,
4277). I don't want to loose the clarity of the image.
In doing the following , i m loosing the clarity
heavily:
com.lowagie.text.Rectangle pageSize = new
com.lowagie.text.Rectangle(2380, 3368);
com.lowagie.text.Document document = new
com.lowagie.text.Document(pageSize, 50, 50, 50, 50);
PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("some/path"));
document.open();
Image pc =
Image.getInstance("some/image.jpg");
pc.scaleToFit(2330, 3250);
pc.setAlignment(Image.MIDDLE);
document.add(DC);
How should i go with this??? Please guide.
thanks
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions