You can't state that you have a tiff of 750 pixels by 900 pixels and
Also say that it is 600dpi.  It doesn't work that way.

A 750 by 900 pixel image is 600 dpi at 1.26 inches by 1.5 inches.
It is 300 dpi at 2.52 x 3 inches.

The math is pixels/dpi = inches.

-Bill Ensley
Bear Printing 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bruno
Sent: Monday, May 15, 2006 1:59 AM
To: [email protected]
Subject: Re: [iText-questions] Tiff scale

Kevin Huang wrote:

> Hi,
>  
> <>I have a Tiff file width: 750 pixels, height: 900 pixels, resolution 
> 600 dpi, bit depth 24.  How can I scale the image to width: 100 
> pixels, height: 120 pixels, and keep the resolution close to 600 dpi?

iText never changes the resolution of an image that is added to the PDF.
You can scale the image to 100 by 120 pixels, this will increase the dpi.
You can't force the dpi to 600.
br,
Bruno


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to