Gets an IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.
Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.2
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.ThreadingIAsyncContext
Contains information for asynchronous processing about the current operation. This parameter is optional.
Default value: .
Return Value
Type: IQuantizingSessionAn IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.
See Also