Package | Description |
---|---|
org.hippoecm.frontend.plugins.gallery.imageutil |
Modifier and Type | Method and Description |
---|---|
ImageUtils.ScalingStrategy |
ScalingParameters.getStrategy() |
static ImageUtils.ScalingStrategy |
ImageUtils.ScalingStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageUtils.ScalingStrategy[] |
ImageUtils.ScalingStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ImageUtils.scaleImage(BufferedImage img,
int targetWidth,
int targetHeight,
ImageUtils.ScalingStrategy strategy)
Returns a scaled instance of the provided
BufferedImage . |
Constructor and Description |
---|
ScaleImageOperation(int width,
int height,
boolean upscaling,
ImageUtils.ScalingStrategy strategy)
Creates a image scaling operation, defined by the bounding box of a certain width and height.
|
ScaleImageOperation(int width,
int height,
boolean upscaling,
ImageUtils.ScalingStrategy strategy,
float compressionQuality)
Creates a image scaling operation, defined by the bounding box of a certain width and height.
|
ScalingParameters(int width,
int height,
boolean upscaling,
ImageUtils.ScalingStrategy strategy)
Creates a set of scaling parameters: the width and height of the bounding box, and whether to
do upscaling.
|
ScalingParameters(int width,
int height,
boolean upscaling,
ImageUtils.ScalingStrategy strategy,
float compressionQuality)
Creates a set of scaling parameters: the width and height of the bounding box, and whether to do upscaling.
|
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.