Click or drag to resize

PaletteGetClosestPaletteIndex Method (Color, Boolean)

Returns the palette index that best matches a specified color, returning a value if there was an exact match.

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,
	ref bool exact
)

Parameters

color
Type: System.DrawingColor
The color to look up in the palette.
exact
Type: SystemBoolean
This value is set to true if there is an exact match, otherwise false.

Return Value

Type: Byte

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

See Also