Package | Description |
---|---|
info.magnolia.imaging.operations.cropresize | |
info.magnolia.imaging.operations.cropresize.resizers |
Modifier and Type | Method and Description |
---|---|
static Size |
Size.conformToCropRatio(Coords cropCoords,
int targetWidth,
int targetHeight) |
protected abstract Size |
AbstractCropAndResize.getEffectiveTargetSize(BufferedImage source,
Coords cropCoords,
P params)
Determines the actual size for the resized image based on the source image, the crop coordinates
calculated by
AbstractCropAndResize.getCroopCoords(java.awt.image.BufferedImage, P) and the given ParameterProvider. |
protected Size |
BoundedResize.getEffectiveTargetSize(BufferedImage source,
Coords cropCoords,
ParameterProvider params) |
protected Size |
AutoCropAndResize.getEffectiveTargetSize(BufferedImage source,
Coords cropCoords,
ParameterProvider params) |
protected Size |
SelectedCropAndResize.getEffectiveTargetSize(BufferedImage source,
Coords cropCoords,
ParameterProvider<info.magnolia.cms.core.Content> params) |
static Size |
Size.maxSizeComplyingWithSourceRatio(int sourceWidth,
int sourceHeight,
int maxWidth,
int maxHeight) |
static Size |
Size.maxSizeComplyingWithSourceRatio(int sourceWidth,
int sourceHeight,
int maxWidth,
int maxHeight,
boolean expand) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
Resizer.resize(BufferedImage src,
Coords srcCoords,
Size targetSize) |
protected BufferedImage |
AbstractCropAndResize.resize(BufferedImage src,
Coords srcCoords,
Size targetSize) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
ScaleAreaAveragingResizer.resize(BufferedImage src,
Coords srcCoords,
Size targetSize) |
BufferedImage |
MultiStepResizer.resize(BufferedImage src,
Coords srcCoords,
Size targetSize) |
BufferedImage |
BasicResizer.resize(BufferedImage src,
Coords srcCoords,
Size targetSize) |
Copyright © 2016 Magnolia International Ltd.. All rights reserved.