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