You can get the dpi from png and jpg but gif has not that information. From
that and the number of xy pixels you have the dimensions.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Shahzad Latif" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 17, 2002 15:02
Subject: [iText-questions] image issues


I have been looking for this information for a while. So far, have not
been
succesfull. Since there are some solid image classes used in iText, I
thought I'll give it a try here. My objective is to determine height and

width of various images in inches (at present formats in list are jpeg
and
gif, but the list is growing). The next step is to decrease these
dimensions
in inches to a specified size and then save the files for use in
different
applications. Limitation is: jdk1.2.2 is the max I can go. No worries
about
the resolution, but it should look and print ok. I would highly
appreciate
any suggestions on this.

Many thanks,

Shahzad






_________________________________________________________________
Get a speedy connection with MSN Broadband. Join now!
http://resourcecenter.msn.com/access/plans/freeactivation.asp



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions




-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to