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(String inputFilePath,
String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY,
int targetWidth,
int targetHeight)
|
ImageCropperAndResizer
public ImageCropperAndResizer()
cropAndResize
public static void cropAndResize(String inputFilePath,
String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY,
int targetWidth,
int targetHeight)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.