Package com.sksamuel.scrimage
Class ProgressiveScale
- java.lang.Object
-
- com.sksamuel.scrimage.ProgressiveScale
-
public class ProgressiveScale extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProgressiveScale()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getType(java.awt.image.BufferedImage image)
static java.awt.image.BufferedImage
scale(java.awt.image.BufferedImage image, int targetWidth, int targetHeight, java.lang.Object interpolation)
Scales an image progressively, by starting with the original scale and halving it, until the target size is reached.
-
-
-
Method Detail
-
getType
public static int getType(java.awt.image.BufferedImage image)
-
scale
public static java.awt.image.BufferedImage scale(java.awt.image.BufferedImage image, int targetWidth, int targetHeight, java.lang.Object interpolation)
Scales an image progressively, by starting with the original scale and halving it, until the target size is reached.
-
-