Interface ImageMagickService
-
- All Known Implementing Classes:
DefaultImageMagickService
public interface ImageMagickServiceService exposing low-level functionality to access the ImageMagick convert and identify commands.This service might also be implemented backed by the GraphicsMagick Image Processing system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconvert(java.util.List<java.lang.String> commandOptions)Executes a conversion with the specified list of options.java.lang.Stringidentify(java.util.List<java.lang.String> commandOptions)Executes image identification with the specified options.
-
-
-
Method Detail
-
convert
void convert(java.util.List<java.lang.String> commandOptions) throws java.io.IOExceptionExecutes a conversion with the specified list of options. The options available are numerous and listed on the ImageMagick command line options page.- Parameters:
commandOptions- the bold command line options (including input and output files if applicable).- Throws:
java.io.IOException- on any error
-
identify
java.lang.String identify(java.util.List<java.lang.String> commandOptions) throws java.io.IOExceptionExecutes image identification with the specified options. Please see ImageMagick Identify Command-line Tool for usage and option descriptions.- Parameters:
commandOptions- bold command line options to the identify command (including the input file).- Returns:
- the commands (std) output.
- Throws:
java.io.IOException- on any error.
-
-