IQuantizingSessionGetQuantizedColor Method

Gets the quantized color of the specified origColor. If Palette property has non- return value, then the result color must be a valid Palette entry.
See also the Remarks section of the AlphaThreshold property for details.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.1.0
C#
Color32 GetQuantizedColor(
	Color32 origColor
)

Parameters

origColor  Color32
The original color to be quantized.

Return Value

Color32
The quantized color.

See Also