public class IndexImage
extends java.lang.Object
| Constructor and Description |
|---|
IndexImage() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
getIndexedImage(java.awt.image.BufferedImage bi,
int nColors)
Converts the input image (must be TYPE_INT_RGB or
TYPE_INT_ARGB) to an indexed image.
|
public static java.awt.image.BufferedImage getIndexedImage(java.awt.image.BufferedImage bi,
int nColors)
bi - the image to be processed.nColors - number of colors in the paletteCopyright ? 2009 Apache Software Foundation. All Rights Reserved.