Hi, I was looking for a free online tool(api) to capture and resize the images and store them on the hard drive. I cam to know about Jmagick and JAI . I wanted to know if there are others and which one among these would be the best. Can some body help me with this. Thanks, Samanth.
Jesper, Thanks for your reply, What I exactly want is that I need to grab a picture from the jsp page and I need to resize the image and display it on the webpage again. I wanted to make use of a java class or a package that is already existing for this purpose. I appreciate your help.
Why not read the file from the jsp page and use html attributes to resize it?
<img src=xxx width=XXX height=XXX>
Joined: Mar 06, 2006
That way you change the way you display the image but not the actual image file size. It looks a little weired too.
Joined: Jul 09, 2001
Hi, ok so you don't want to use the HTML attributes.
I am writing a commercial application in which I have the ability to scale images. Here is the method to do this, with this said you will have to write logic to get the scaled height and width. This is easily done since you could get the attributes from the Image.