Package | Description |
---|---|
com.openindex.openestate.tool.utils | |
org.imgscalr |
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ImageUtils.scale(BufferedImage image,
int width,
int height,
Scalr.Method method,
Scalr.Mode mode) |
Modifier and Type | Method and Description |
---|---|
static Scalr.Mode |
Scalr.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scalr.Mode[] |
Scalr.Mode.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 |
Scalr.resize(BufferedImage src,
Scalr.Method scalingMethod,
Scalr.Mode resizeMode,
int targetSize,
BufferedImageOp... ops)
Resize a given image (maintaining its original proportion) to a width and
height no bigger than
targetSize (or fitting the image to
the given WIDTH or HEIGHT explicitly, depending on the Scalr.Mode
specified) using the given scaling method and apply the given
BufferedImageOp s (if any) to the result before returning it. |
static BufferedImage |
Scalr.resize(BufferedImage src,
Scalr.Method scalingMethod,
Scalr.Mode resizeMode,
int targetWidth,
int targetHeight,
BufferedImageOp... ops)
Resize a given image (maintaining its original proportion) to the target
width and height (or fitting the image to the given WIDTH or HEIGHT
explicitly, depending on the
Scalr.Mode specified) using the given
scaling method and apply the given BufferedImageOp s (if any) to
the result before returning it. |
static BufferedImage |
Scalr.resize(BufferedImage src,
Scalr.Mode resizeMode,
int targetSize,
BufferedImageOp... ops)
Resize a given image (maintaining its original proportion) to a width and
height no bigger than
targetSize (or fitting the image to
the given WIDTH or HEIGHT explicitly, depending on the Scalr.Mode
specified) and apply the given BufferedImageOp s (if any) to the
result before returning it. |
static BufferedImage |
Scalr.resize(BufferedImage src,
Scalr.Mode resizeMode,
int targetWidth,
int targetHeight,
BufferedImageOp... ops)
Resize a given image (maintaining its original proportion) to the target
width and height (or fitting the image to the given WIDTH or HEIGHT
explicitly, depending on the
Scalr.Mode specified) and apply the given
BufferedImageOp s (if any) to the result before returning it. |
Copyright © 2017 OpenEstate. All rights reserved.