Click or drag to resize
Accord.NET (logo)

MedianCutQuantizerAddColor Method

Add color to the list of processed colors.

Namespace:  Accord.Imaging.ColorReduction
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public void AddColor(
	Color color
)
Request Example View Source

Parameters

color
Type: System.DrawingColor
Color to add to the internal list.

Implements

IColorQuantizerAddColor(Color)
Remarks

The method adds the specified color into internal list of processed colors. The list is used later by GetPalette(Int32) method to build reduced color table of the specified size.

See Also