AdjustPalette

Inheritance: java.lang.Object

public final class AdjustPalette

Color palette adjustment class

Methods

MethodDescription
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:

ParameterTypeDescription
imageRasterImageThe image.
entriesCountintThe entries count.
colorQuantizationMethodintThe color quantization method.
colorCompareMethodintThe color compare method.

Returns: IColorPalette - Optimized for image palette