no need to use external library with java it already includes image manipulation support with java2D
http://java.sun.com/docs/b
http://helpdesk.objects.co
Main Topics
Browse All TopicsHello,
Trying to build a web application to do basic image manipulations like rotating and cropping. I kind of have an idea on how to handle this on the client side using javascript. On the server side, if I was using php I could have used something like ImageMagick to do server side processing of the image. Basically get the crop sizes and coordinates of the image from the javascript and pass it to the ImageMagick pluin in php to do processing for that image.
I want to know what similar options do I have when using jsp or any j2ee/java based solution?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
no need to use external library with java it already includes image manipulation support with java2D
http://java.sun.com/docs/b
http://helpdesk.objects.co
Thanks Objects and CEHJ. Both are very good solutions that I looked at.
@ objects:- I like a pure java solution. But the image class is in the awt package. I am looking for a pure server side solution without any UI. I would like to take the parameters from the webpage pass it to a server side image processor and crop or rotate the image. I am not sure if the image class can be used without a GUI?
@CEHJ:- Is JMagick widely used? I appears to be fairly new. Also due to JNI, not sure of performance,scallability etc., We are planning to do some benchmarking.
> But the image class is in the awt package. I am looking for a pure server side solution without any UI.
It does not require any UI
> I am not sure if the image class can be used without a GUI?
It can
> Is JMagick widely used?
I don't believe so, I've done lots of imaging work over the years and never come across a client that needed or used it.
> @objects:- Can I use it as a pure server side solution without a UI?
yes
> Is the solution to set headless to true? or is there another solution?
headless has nothing to do with whether your app has a UI or not.
headless is used when you are running on a box without a monitor (or just a console)
and just requires setting a property in your containers startup options
You can use this one,
http://www.imagemagick.org
Business Accounts
Answer for Membership
by: CEHJPosted on 2009-11-01 at 14:28:16ID: 25715902
I would use JMagick (Java port of ImageMagick)