public final class Dithering
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
applyFloydSteinbergDithering(java.awt.image.BufferedImage image,
Palette palette)
Changes the given image to only use colors from the given palette,
applying Floyd-Steinberg dithering in the process.
|
public static void applyFloydSteinbergDithering(java.awt.image.BufferedImage image,
Palette palette)
throws ImageWriteException
image - the image to changepalette - the palette to useImageWriteException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"