AForge.Imaging.ColorReduction.MedianCutQuantizer.AddColor C# (CSharp) Method

AddColor() public method

Add color to the list of processed colors.

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

public AddColor ( Color color ) : void
color Color Color to add to the internal list.
return void
        public void AddColor( Color color )
        {
            colors.Add( color );
        }