public class ImageCropperAndResizer extends MagickExecutor
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MAP_COMPONENTS |
| Constructor and Description |
|---|
ImageCropperAndResizer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cropAndResize(String inputFilePath,
String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY,
int targetWidth,
int targetHeight) |
static void |
cropAndResize(String inputFilePath,
String outputFilePath,
int tileWidth,
int tileHeight,
int offsetX,
int offsetY,
int targetWidth,
int targetHeight,
String mapComponents) |
execCommand, formatFilePathpublic static final String DEFAULT_MAP_COMPONENTS
public ImageCropperAndResizer()
public static void cropAndResize(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY, int targetWidth, int targetHeight) throws CommandNotAvailable, CommandException
CommandNotAvailableCommandExceptionpublic static void cropAndResize(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY, int targetWidth, int targetHeight, String mapComponents) throws CommandNotAvailable, CommandException
CommandNotAvailableCommandExceptionCopyright © 2015 Nuxeo SA. All rights reserved.