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, formatFilePath
public 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
CommandNotAvailable
CommandException
public static void cropAndResize(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY, int targetWidth, int targetHeight, String mapComponents) throws CommandNotAvailable, CommandException
CommandNotAvailable
CommandException
Copyright © 2016 Nuxeo SA. All rights reserved.