how to get image dimension
Hi ,
I need to find the height and width of an image (any type. for eg.jpg,png,tif,gif,eps etc.)
the following code works for jpg,png and gif but not for eps and tif.
eps is what i need. I read that imageicon does support jpg,png and gif and not other types. so is there any solution to find the dimesion of image files with eps and tif extension.
ImageIcon ic =new ImageIcon ("filename");
out.println(" height = " + ic.getIconHeight());
out.println(" width = " + ic.getIconWidth());
thanks,
Thanuja.

