Package com.jhlabs.image
Class ScaleFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.ScaleFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.lang.Cloneable
public class ScaleFilter extends AbstractBufferedImageOp
Scales an image using the area-averaging algorithm, which can't be done with AffineTransformOp.
-
-
Constructor Summary
Constructors Constructor Description ScaleFilter()
Construct a ScaleFilter.ScaleFilter(int width, int height)
Construct a ScaleFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
java.lang.String
toString()
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-