In order to retrieve these properties from an image we've used ImageInfo, a freely available java class, downloadable at: http://www.geocities.com/marcoschmidt.geo/image-info.html. Imageinfo is
Why not use ImageMagick? To get the with and height with ImageMagick you can do:
identify -format "%w %h" m100.jpg
It is also possible to get more information from an image. Maybe it is possible to make a more generic solution to get information from an image.
http://www.imagemagick.org/www/ImageMagick.html section "-format <string>"
Jaco
