- <init>
Creates a DiffusionDither, using the given IndexColorModel for dithering into.
- createCompatibleDestImage
Creates a compatible BufferedImage to dither into. Only IndexColorModel allowed.
- createCompatibleDestRaster
Creates a compatible Raster to dither into.
- filter
Performs a single-input/single-output dither operation, applying basic
Floyd-Steinberg error-diffusi
- getBounds2D
Returns the bounding box of the filtered destination Raster. Since this is not a
geometric operation
- getICM
- setAlternateScans
Sets the scan mode. If the parameter is true, error distribution for every even
line will be left-to
- toIntARGB
Converts a int triplet to int ARGB.
- toRGBArray
Converts an int ARGB to int triplet.