On Sunday 16 July 2006 21:11, Alin Popa wrote:
> Image myImage = Image.getInstance ("img.jpg");
> System.out.println(myImage.getWidth()); //This will result me
> something like .... 400 px
> System.out.println(myImage.getHeight()); //This will result me
> something like .... 200 px
myImage.plainHeight();
myImage.plainWidth();should be what you are looking for. Best to keep replies on the list, since then there are more people who might be able to answer your questions (and follow-on questions). Greetings, Mark -- Bridge ahead. Pay troll. My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpshhDAfItJt.pgp
Description: PGP signature
------------------------------------------------------------------------- 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
