AdjustPalette.GetCloseImagePalette

AdjustPalette.GetCloseImagePalette method

Gets the close image palette.

public static IColorPalette GetCloseImagePalette(RasterImage image, int entriesCount, 
    ColorQuantizationMethod colorQuantizationMethod, ColorCompareMethod colorCompareMethod)
ParameterTypeDescription
imageRasterImageThe image.
entriesCountInt32The entries count.
colorQuantizationMethodColorQuantizationMethodThe color quantization method.
colorCompareMethodColorCompareMethodThe color compare method.

Return Value

Optimized for image palette

See Also