Class ImageCropper
java.lang.Object
org.nuxeo.ecm.platform.picture.magick.utils.ImageCropper
Unit command to crop a picture using ImageMagick.
- Author:
- tiry
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ImageCropper
public ImageCropper()
-
-
Method Details
-
crop
public static void crop(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY) throws CommandNotAvailable, CommandException - Throws:
CommandNotAvailable
CommandException
-