A Sandcastle Documented Class Library
Map Method (blue, green, red)
NamespacesGifComponentsNeuQuantMap(Int32, Int32, Int32)
Search for BGR values 0..255 (after net is unbiased) and return the index in the colour table of the colour closest to the supplied colour. TODO: consider accepting a Color rather than R,G,B integers.
Declaration Syntax
C#Visual BasicVisual C++
public int Map(
	int blue,
	int green,
	int red
)
Public Function Map ( _
	blue As Integer, _
	green As Integer, _
	red As Integer _
) As Integer
public:
int Map(
	int blue, 
	int green, 
	int red
)
Parameters
blue (Int32)
The blue component of the input colour.
green (Int32)
The green component of the input colour.
red (Int32)
The red component of the input colour.
Return Value
The index in the colour table of the colour closest to the supplied colour.

Assembly: GifComponents (Module: GifComponents) Version: 0.1.3594.26453