ImageIcon jpegImage = new ImageIcon("/path/to/image");
int height = jpegImage.getIc onHeight();
int width = jpegImage.getIc onWidth();
-Nathan
"Phil..." <[email protected] > wrote in message news:<fb5fb.666 490$Ho3.138357@ sccrnsc03>...[color=blue]
> how can i find the width and height of a jpeg file
> i am not interested in viewing the file i just want
> the height and width[/color]
Comment