Gallery Image Processing Core is an image file processing library which achieves the goals using any of these:
org.onehippo.forge.gallerymagick.core.command.ScalrProcessorUtils utility class provides a pure Java based image identifying/resizing solution.
When using a non-Java based solution (either GraphicsMagick or ImageMagick), it executes commands (such as gm convert or convert) of either GraphicsMagick or ImageMagick to manipulate image files.
This library provides the following components and utilities:
For more details and examples, please see API JavaDocs and Unit Tests.