AdjustPalette 类
Summary: Color palette adjustment class
Module: aspose.imaging.palettehelper
Full Name: aspose.imaging.palettehelper.AdjustPalette
Constructors
| Name | 描述 |
|---|---|
| AdjustPalette() | 初始化 AdjustPalette 类的新实例 |
Methods
| Name | 描述 |
|---|---|
| get_close_image_palette(image, entries_count, color_quantization_method, color_compare_method) | 获取接近的图像调色板。 |
Constructor: AdjustPalette()
AdjustPalette()
初始化 AdjustPalette 类的新实例
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)
获取接近的图像调色板。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| image | RasterImage | 图像。 |
| entries_count | int | 条目计数。 |
| color_quantization_method | ColorQuantizationMethod | 颜色量化方法。 |
| color_compare_method | ColorCompareMethod | 颜色比较方法。 |
Returns
| Type | Description |
|---|---|
| IColorPalette | 针对图像调色板进行优化 |