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 the also Remarks section of the AlphaThreshold property for details.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.3
C#
Color32 GetQuantizedColor(
	Color32 origColor
)

Parameters

origColor  Color32
The original color to be quantized.

Return Value

Color32
The quantized color.

See Also