|
IColorQuantizerGetPalette Method
|
Get palette of the specified size.
Namespace:
Accord.Imaging.ColorReduction
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
SyntaxColor[] GetPalette(
int colorCount
)
Function GetPalette (
colorCount As Integer
) As Color()
Request Example
View SourceParameters
- colorCount
- Type: SystemInt32
Palette size to return.
Return Value
Type:
ColorReturns reduced color palette for the accumulated/processed colors.
RemarksThe method must be called after continuously calling AddColor(Color) method and
returns reduced color palette for colors accumulated/processed so far.
See Also