---
title: "AdjustPalette"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.palettehelper/adjustpalette/"
product: "Aspose.Imaging for Java API Reference"
description: "Color palette adjustment class"
---

**Inheritance:**
java.lang.Object
```
public final class AdjustPalette
```

Color palette adjustment class
## Methods

| Method | Description |
| --- | --- |
| [getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod)](#getCloseImagePalette-com.aspose.imaging.RasterImage-int-int-) | Gets the close image palette. |
### getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod) {#getCloseImagePalette-com.aspose.imaging.RasterImage-int-int-}
```
public static IColorPalette getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod)
```


Gets the close image palette.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| image | [RasterImage](../../com.aspose.imaging/rasterimage) | The image. |
| entriesCount | int | The entries count. |
| colorQuantizationMethod | int | The color quantization method. |

**Returns:**
[IColorPalette](../../com.aspose.imaging/icolorpalette) - Optimized for image palette
