ColorPaletteHelper Class

Helper class for color palettes manipulation.
Inheritance Hierarchy

Namespace:  Aspose.CAD
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.9
public static class ColorPaletteHelper

The ColorPaletteHelper type exposes the following members.

Public methodStatic memberCreate4Bit
Creates the 4 bit color palette.
Public methodStatic memberCreate4BitGrayscale
Creates the 4 bit grayscale palette.
Public methodStatic memberCreate8Bit
Creates the 8 bit color palette.
Public methodStatic memberCreate8BitGrayscale
Creates the 8 bit grayscale palette.
Public methodStatic memberCreateMonochrome
Creates a monochrome color palette containing 2 colors only.
Public methodStatic memberGetCloseImagePalette
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.
Public methodStatic memberGetDownscalePalette
Get 256 color palette, composed from upper bits of initial image color values.
Public methodStatic memberGetUniformColorPalette
Get uniform 256 color palette.
See Also