org.nuxeo.ecm.platform.picture.magick.utils
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
Method Summary |
static void |
crop(String inputFilePath,
String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCropper
public ImageCropper()
crop
public static void crop(String inputFilePath,
String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY)
throws CommandNotAvailable
- Throws:
CommandNotAvailable
Copyright © 2010 Nuxeo SAS. All Rights Reserved.