IQuantizerInitialize Method

KGy SOFT Drawing Libraries Help
Gets an IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 6.0.0
Syntax

IQuantizingSession Initialize(
	IReadableBitmapData source,
	IAsyncContext? asyncContext = null
)

Parameters

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

Return Value

Type: IQuantizingSession
An IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.
See Also

Reference