ColorPaletteHelper.GetCloseTransparentImagePalette
ColorPaletteHelper.GetCloseTransparentImagePalette method
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 static IColorPalette GetCloseTransparentImagePalette(RasterImage image, int entriesCount)
Parameter | Type | Description |
---|---|---|
image | RasterImage | The raster image. |
entriesCount | Int32 | The desired entries count. |
Return Value
The color palette which starts with the most frequent colors from the image and contains entriesCount entries.
See Also
- interface IColorPalette
- class RasterImage
- class ColorPaletteHelper
- namespace Aspose.Imaging
- assembly Aspose.Imaging