Get paletter of the specified size.
Namespace:
AForge.Imaging.ColorReductionAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- colorCount
- Type: System..::.Int32
Palette size to get.
Return Value
Returns reduced palette of the specified size, which covers colors processed so far.Implements
IColorQuantizer..::.GetPalette(Int32)
Remarks
The method must be called after continuously calling AddColor(Color) method and returns reduced color palette for colors accumulated/processed so far.