Package com.twelvemonkeys.image
Class SubsamplingFilter
- java.lang.Object
-
- java.awt.image.ImageFilter
-
- java.awt.image.ReplicateScaleFilter
-
- com.twelvemonkeys.image.SubsamplingFilter
-
- All Implemented Interfaces:
java.awt.image.ImageConsumer
,java.lang.Cloneable
public class SubsamplingFilter extends java.awt.image.ReplicateScaleFilter
AnImageFilter
class for subsampling images.It is meant to be used in conjunction with a
FilteredImageSource
object to produce subsampled versions of existing images.- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/SubsamplingFilter.java#1 $
- Author:
- Harald Kuhr
- See Also:
FilteredImageSource
-
-
Constructor Summary
Constructors Constructor Description SubsamplingFilter(int pXSub, int pYSub)
Creates aSubsamplingFilter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDimensions(int pWidth, int pHeight)
ImageFilter
implementation, do not invoke.-
Methods inherited from class java.awt.image.ReplicateScaleFilter
setPixels, setPixels, setProperties
-
-