public class MedianCutQuantizer
extends java.lang.Object
Constructor and Description |
---|
MedianCutQuantizer(boolean ignoreAlpha) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,org.apache.commons.imaging.palette.ColorCount> |
groupColors(java.awt.image.BufferedImage image,
int maxColors) |
Palette |
process(java.awt.image.BufferedImage image,
int maxColors,
MedianCut medianCut,
boolean verbose) |
public java.util.Map<java.lang.Integer,org.apache.commons.imaging.palette.ColorCount> groupColors(java.awt.image.BufferedImage image, int maxColors)
public Palette process(java.awt.image.BufferedImage image, int maxColors, MedianCut medianCut, boolean verbose) throws ImageWriteException
ImageWriteException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"