Reputation: 393
I want to build an upload applet / desktop client that can resize - trim and then send an image to my amazon s3 bucket.
Trimming my images has proven to take the longest and be the most cpu intensive. On my server when a user uploads a image using an html form I use imagemagick command line tools to do the trim and resize.
What tools would you guys recommend using?
Edit: I need to be able to automatically crop images. Something similar to the imagemagick trim function.
Upvotes: 1
Views: 386
Reputation: 6968
I would recommend that you check out JAI.
Specifically check out the classes CropDescriptor, ScaleDescriptor and their static methods.
Also, take a look at the subclasses of OperationDescriptorImpl, they will give you an idea of the types of operations JAI is capable of.
Upvotes: 1