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.
What exactly do you mean with "free online tool", do you mean a free program you can download, or do you mean an online application / web application?
Also, what exactly do you mean by "capturing" images?
Do you just need a tool to resize images, does it need to be in Java, do you want the source code too?
IrfanView is a very popular and useful image viewer which has a lot of other functions too, you can also resize images with it, but it's not a Java program and the source code is not available.
Here are some examples of Java code to resize images (you can do this with classes in the standard Java API, you don't need extra libraries such as Jmagick or JAI):
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.
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.