|
ColorImageQuantizerCalculatePalette Method (Bitmap, Int32)
|
Calculate reduced color palette for the specified image.
Namespace:
Accord.Imaging.ColorReduction
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntaxpublic Color[] CalculatePalette(
Bitmap image,
int paletteSize
)
Public Function CalculatePalette (
image As Bitmap,
paletteSize As Integer
) As Color()
Request Example
View SourceParameters
- image
- Type: System.DrawingBitmap
Image to calculate palette for. - paletteSize
- Type: SystemInt32
Palette size to calculate.
Return Value
Type:
ColorReturn reduced color palette for the specified image.
Remarks
See Also