I don't want to resize the image, but I want to remove the useless
pixels according to the image resolution and its desired output size.
Just like Paulo said I have to do this using JAI by myself.

-----Original Message-----
From: Bill Ensley [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 06, 2005 3:19 PM
To: iText Mail Group; Lucinda Zhu
Subject: RE: [iText-questions] control image embedding

>I am using iText to generate PDF. I want the size of the output PDF
file
can be as small as possible. I
>want to know if iText would allow user to select the resolution and
compression options of images to be
>embedded into the document. If it is to be printed, users would select
300
DPI, if it is for web use, they >might select 72 DPI.

Sure, why not.  Just put a selection box in your page that posts to
create the PDF, then, get the selection and resize the image
accordingly.

We do this everyday.

-Bill Ensley
Bear Printing

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events,
4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to