AdjustPalette

Inheritance: java.lang.Object

public final class AdjustPalette

颜色调色板调整类

方法

方法描述
getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)获取接近的图像调色板。

getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)

public static IColorPalette getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)

获取接近的图像调色板。

Parameters:

参数类型描述
imageRasterImage图像。
entriesCountint条目计数。
colorQuantizationMethodint颜色量化方法。
colorCompareMethodint颜色比较方法。

Returns: IColorPalette - Optimized for image palette