get_close_image_palette method
get_close_image_palette
Gets color palette from raster image (palletizes image) in case the image does not have one. In case palette exists it will be used instead performing calculations.
Returns
The color palette which starts with the most frequent colors from the image
and contains entries_count
entries.
def get_close_image_palette(self, image, entries_count):
...
Parameter | Type | Description |
---|---|---|
image | RasterImage | The raster image. |
entries_count | int | The desired entries count. |
See Also
- module
aspose.cad
- class
ColorPaletteHelper