|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.image.ColorReducer
public class ColorReducer
A with some static methods to reduce the number of colors in a
BufferedImage.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||