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
ImageWriteException
public Map groupColors(BufferedImage image, int max_colors) throws ImageWriteException
ImageWriteException
public Palette process(BufferedImage image, int max_colors, boolean verbose) throws ImageWriteException
ImageWriteException
Copyright © 2007-2012. All Rights Reserved.