org.nuxeo.ecm.platform.picture.magick.utils
Class ImageCropperAndResizer
java.lang.Object
org.nuxeo.ecm.platform.picture.magick.MagickExecutor
org.nuxeo.ecm.platform.picture.magick.utils.ImageCropperAndResizer
public class ImageCropperAndResizer
- extends MagickExecutor
Unit command to crop and resize an picture.
- Author:
- tiry
Method Summary |
static void |
cropAndResize(java.lang.String inputFilePath,
java.lang.String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY,
int targetWidth,
int targetHeight)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCropperAndResizer
public ImageCropperAndResizer()
cropAndResize
public static void cropAndResize(java.lang.String inputFilePath,
java.lang.String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY,
int targetWidth,
int targetHeight)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.