Check out im4java and JMagick , both using ImageMagick's extremely efficient external image management tool . Im4Java calls the command line application (runs in a separate process), and JMagick calls it within the same process through the JNI.
If I do simple manipulations with images (resizing, scaling, rotating, etc.), I would prefer ImageMagick to do this for me. It will be faster, more reliable, and consume less memory than anything you could implement in a similar period of time.
Hope this helps!
source
share