ColorPaletteHelper class
ColorPaletteHelper class
Helper class for color palettes manipulation.
The ColorPaletteHelper type exposes the following members:
Methods
Method | Description |
---|---|
create_monochrome | Creates a monochrome color palette containing 2 colors only. |
create_4_bit | Creates the 4 bit color palette. |
create_4_bit_grayscale | Creates the 4 bit grayscale palette. |
create_8_bit | Creates the 8 bit color palette. |
create_8_bit_grayscale | Creates the 8 bit grayscale palette. |
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. |
get_uniform_color_palette | Get uniform 256 color palette. |
get_downscale_palette | Get 256 color palette, composed from upper bits of initial image color values. |
See Also
- module
aspose.cad