IQuantizerInitialize Method

Gets an IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.1.0
C#
IQuantizingSession Initialize(
	IReadableBitmapData source,
	IAsyncContext? asyncContext = null
)

Parameters

source  IReadableBitmapData
The quantizing session to be initialized will be performed on the specified IReadableBitmapData instance.
asyncContext  IAsyncContext  (Optional)
Contains information for asynchronous processing about the current operation. This parameter is optional.
Default value: .

Return Value

IQuantizingSession
An IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.

See Also