Add color to the list of processed colors.

Namespace:  AForge.Imaging.ColorReduction
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public void AddColor(
	Color color
)

Parameters

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

Implements

IColorQuantizer..::.AddColor(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