Click or drag to resize

PaletteGetClosestPaletteIndex Method (Color)

Returns the palette index that best matches a specified color.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public byte GetClosestPaletteIndex(
	Color color
)

Parameters

color
Type: System.DrawingColor
The color to look up in the palette.

Return Value

Type: Byte
See Also