|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.utility.image.Quantize
public class Quantize
| Constructor Summary | |
|---|---|
Quantize()
|
|
| Method Summary | |
|---|---|
static java.awt.image.BufferedImage |
quantize(java.awt.image.BufferedImage source,
int max_colors)
Takes a buffered image and reduces the colors to the specified number |
static int[] |
quantizeImage(int[][] pixels,
int max_colors)
Reduce the 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 |
| Constructor Detail |
|---|
public Quantize()
| Method Detail |
|---|
public static java.awt.image.BufferedImage quantize(java.awt.image.BufferedImage source,
int max_colors)
throws java.io.IOException
java.io.IOException
public static int[] quantizeImage(int[][] pixels,
int max_colors)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||