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.0.0.0.0.297 (.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

[Missing <returns> documentation for "M:Atalasoft.Imaging.Palette.GetClosestPaletteIndex(System.Drawing.Color)"]

See Also