Uses of Class
org.imgscalr.Scalr.Method
-
Packages that use Scalr.Method Package Description com.openindex.openestate.tool.utils Hilfsklassen.org.imgscalr -
-
Uses of Scalr.Method in com.openindex.openestate.tool.utils
Methods in com.openindex.openestate.tool.utils with parameters of type Scalr.Method Modifier and Type Method Description static BufferedImage
ImageUtils. scale(BufferedImage image, int width, int height, Scalr.Method method, Scalr.Mode mode)
-
Uses of Scalr.Method in org.imgscalr
Methods in org.imgscalr that return Scalr.Method Modifier and Type Method Description protected static Scalr.Method
Scalr. determineScalingMethod(int targetWidth, int targetHeight, float ratio)
Used to determine the scalingScalr.Method
that is best suited for scaling the image to the targeted dimensions.static Scalr.Method
Scalr.Method. valueOf(String name)
Returns the enum constant of this type with the specified name.static Scalr.Method[]
Scalr.Method. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.imgscalr with parameters of type Scalr.Method Modifier and Type Method Description static BufferedImage
Scalr. resize(BufferedImage src, Scalr.Method scalingMethod, int targetWidth, int targetHeight, BufferedImageOp... ops)
Resize a given image (maintaining its original proportion) to the target width and height using the given scaling method and apply the givenBufferedImageOp
s (if any) to the result before returning it.static BufferedImage
Scalr. resize(BufferedImage src, Scalr.Method scalingMethod, int targetSize, BufferedImageOp... ops)
Resize a given image (maintaining its original proportion) to a width and height no bigger thantargetSize
using the given scaling method and apply the givenBufferedImageOp
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 theScalr.Mode
specified) using the given scaling method and apply the givenBufferedImageOp
s (if any) to the result before returning it.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 thantargetSize
(or fitting the image to the given WIDTH or HEIGHT explicitly, depending on theScalr.Mode
specified) using the given scaling method and apply the givenBufferedImageOp
s (if any) to the result before returning it.protected static BufferedImage
Scalr. scaleImageIncrementally(BufferedImage src, int targetWidth, int targetHeight, Scalr.Method scalingMethod, Object interpolationHintValue)
Used to implement Chris Campbell's incremental-scaling algorithm: http://today.java.net/pub/a/today/2007/04/03/perils -of-image-getscaledinstance.html.
-