• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Find Image size in jsp or servlet

 
Nilesh Patel
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have one image like nilesh.jpg

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

In Jsp or servlet
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ImageInfo class is very helpful for this.
 
Nilesh Patel
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ..

its working fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic