
**Summary:** Color palette adjustment class

**Module:** [aspose.imaging.palettehelper](/imaging/python-net/aspose.imaging.palettehelper/)

**Full Name:** aspose.imaging.palettehelper.AdjustPalette

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [AdjustPalette()](#AdjustPalette__1) | Initializes a new instance of the AdjustPalette class |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [get_close_image_palette(image, entries_count, color_quantization_method, color_compare_method)](#get_close_image_palette_image_entries_count_color_quantization_method_color_compare_method_1) | Gets the close image palette. |


### Constructor: AdjustPalette() {#AdjustPalette__1}


```
 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_1}


```
 get_close_image_palette(image, entries_count, color_quantization_method, color_compare_method) 
```

Gets the close image palette.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| image | [RasterImage](/imaging/python-net/aspose.imaging/rasterimage/) | The image. |
| entries_count | int | The entries count. |
| color_quantization_method | [ColorQuantizationMethod](/imaging/python-net/aspose.imaging/colorquantizationmethod/) | The color quantization method. |
| color_compare_method | [ColorCompareMethod](/imaging/python-net/aspose.imaging/colorcomparemethod/) | The color compare method. |

**Returns**

| Type | Description |
| :- | :- |
| [IColorPalette](/imaging/python-net/aspose.imaging/icolorpalette/) | Optimized for image palette |


