public class MedianCutQuantizer extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MedianCutQuantizer.MedianCutPalette |
| Constructor and Description |
|---|
MedianCutQuantizer(boolean ignore_alpha) |
| Modifier and Type | Method and Description |
|---|---|
Map |
groupColors(BufferedImage image,
int max_colors) |
Map |
groupColors1(BufferedImage image,
int max,
int mask) |
Palette |
process(BufferedImage image,
int max_colors,
boolean verbose) |
public Map groupColors1(BufferedImage image, int max, int mask) throws ImageWriteException
ImageWriteExceptionpublic Map groupColors(BufferedImage image, int max_colors) throws ImageWriteException
ImageWriteExceptionpublic Palette process(BufferedImage image, int max_colors, boolean verbose) throws ImageWriteException
ImageWriteExceptionCopyright © 2007-2012. All Rights Reserved.