Class ImageCropper
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.magick.MagickExecutor
-
- org.nuxeo.ecm.platform.picture.magick.utils.ImageCropper
-
public class ImageCropper extends MagickExecutor
Unit command to crop a picture using ImageMagick.- Author:
- tiry
-
-
Constructor Summary
Constructors Constructor Description ImageCropper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
crop(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY)
-
Methods inherited from class org.nuxeo.ecm.platform.picture.magick.MagickExecutor
execCommand
-
-
-
-
Method Detail
-
crop
public static void crop(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY) throws CommandNotAvailable, CommandException
- Throws:
CommandNotAvailable
CommandException
-
-