AdjustPalette
Inheritance: java.lang.Object
public final class AdjustPalette
Color palette adjustment class
Methods
| Method | Description |
|---|---|
| getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod) | Gets the close image palette. |
getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod)
public static IColorPalette getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod)
Gets the close image palette.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| image | RasterImage | The image. |
| entriesCount | int | The entries count. |
| colorQuantizationMethod | int | The color quantization method. |
Returns: IColorPalette - Optimized for image palette