wood burning stoves
The moose likes JSP and the fly likes Find Image size in jsp or servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Find Image size in jsp or servlet" Watch "Find Image size in jsp or servlet" New topic
Author

Find Image size in jsp or servlet

Nilesh Patel
Ranch Hand

Joined: Feb 02, 2006
Posts: 91
i have one image like nilesh.jpg

How can i find height and width of image (jpg,gif...) ???

In Jsp or servlet


Nilesh Patel
SCJP 1.5 - 87%
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
The ImageInfo class is very helpful for this.
Nilesh Patel
Ranch Hand

Joined: Feb 02, 2006
Posts: 91
Thanks ..

its working fine
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Find Image size in jsp or servlet
 
It's not a secret anymore!