| Package | Description |
|---|---|
| org.appng.tools.image |
Tools for dealing with images using ImageMagick
|
| Modifier and Type | Method and Description |
|---|---|
ImageProcessor |
ImageProcessor.autoCrop(int croppingWidth,
int croppingHeight,
int originalWidth,
int originalHeight)
Automatically crops the original image to the required size.
|
ImageProcessor |
ImageProcessor.autoCrop(int croppingWidth,
int croppingHeight,
int originalWidth,
int originalHeight,
int croppingOffsetX,
int croppingOffsetY)
Automatically crops the original image to the required size.
|
ImageProcessor |
ImageProcessor.crop(int targetWidth,
int targetHeight,
int offsetWidth,
int offsetHeight)
Adds a crop-option to the
convert-command.
|
ImageProcessor |
ImageProcessor.fitToHeight(Integer maxHeight)
Fits the image to the given maximum height using
resize(int, int). |
ImageProcessor |
ImageProcessor.fitToWidth(Integer maxWidth)
Fits the image to the given maximum width using
resize(int, int). |
ImageProcessor |
ImageProcessor.fitToWidthAndHeight(int maxwidth,
int maxHeight)
Fits the image to the given maximum width and height using
resize(int, int). |
ImageProcessor |
ImageProcessor.quality(double quality)
Adds a quality-option to the
convert-command.
|
ImageProcessor |
ImageProcessor.resize(int targetWidth,
int targetHeight)
Adds a resize-option to the
convert-command.
|
ImageProcessor |
ImageProcessor.resize(int targetWidth,
int targetHeight,
boolean scaleUp)
Adds a resize-option to the
convert-command.
|
ImageProcessor |
ImageProcessor.rotate(int degrees)
Adds a rotate-option to the
convert-command.
|
ImageProcessor |
ImageProcessor.strip()
Adds a strip-option to the
convert-command.
|
Copyright © 2011–2020 aiticon GmbH. All rights reserved.