public class ColorQuantize extends Object
| Constructor and Description |
|---|
ColorQuantize() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
quantizeImage(int[][] pixels,
int max_colors)
Reduce the image to the given number of colors.
|
static void |
reduce(BufferedImage bi) |
public static void reduce(BufferedImage bi)
public static int[] quantizeImage(int[][] pixels,
int max_colors)
Copyright © 2017 etc.to. All rights reserved.