AdjustPalette Class

Summary: Color palette adjustment class

Module: aspose.imaging.palettehelper

Full Name: aspose.imaging.palettehelper.AdjustPalette

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
AdjustPalette()Initializes a new instance of the AdjustPalette class

Methods

NameDescription
get_close_image_palette(image, entries_count, color_quantization_method, color_compare_method)Gets the close image palette.

Constructor: AdjustPalette()

 AdjustPalette() 

Initializes a new instance of the AdjustPalette class

Method: get_close_image_palette(image, entries_count, color_quantization_method, color_compare_method) [static]

 get_close_image_palette(image, entries_count, color_quantization_method, color_compare_method) 

Gets the close image palette.

Parameters:

ParameterTypeDescription
imageRasterImageThe image.
entries_countintThe entries count.
color_quantization_methodColorQuantizationMethodThe color quantization method.
color_compare_methodColorCompareMethodThe color compare method.

Returns

TypeDescription
IColorPaletteOptimized for image palette