AdjustPalette

Inheritance: java.lang.Object

public final class AdjustPalette

Color palette adjustment class

Methods

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

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

Returns: IColorPalette - Optimized for image palette