public class IndexImage
extends java.lang.Object
| Constructor | Description |
|---|---|
IndexImage() |
| Modifier and Type | Method | 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 ? 2018 Apache Software Foundation. All Rights Reserved.