public class ColorReducer
extends java.lang.Object
BufferedImage
.Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
reduce24(java.awt.image.BufferedImage bi,
int colors)
Reduce a 24 bit image to the given number of colors.
|
static java.awt.image.BufferedImage |
reduce32(java.awt.image.BufferedImage bi,
int colors)
Reduce a 32 bit image to the given number of colors.
|
public static java.awt.image.BufferedImage reduce24(java.awt.image.BufferedImage bi, int colors)
bi
- colors
- public static java.awt.image.BufferedImage reduce32(java.awt.image.BufferedImage bi, int colors)
bi
- colors
- Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details