IQuantizerInitialize Method
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
IQuantizingSession Initialize(
IReadableBitmapData source,
IAsyncContext? asyncContext = null
)
Function Initialize (
source As IReadableBitmapData,
Optional asyncContext As IAsyncContext = Nothing
) As IQuantizingSession
IQuantizingSession^ Initialize(
IReadableBitmapData^ source,
IAsyncContext^ asyncContext = nullptr
)
abstract Initialize :
source : IReadableBitmapData *
?asyncContext : IAsyncContext
(* Defaults:
let _asyncContext = defaultArg asyncContext null
*)
-> IQuantizingSession
- 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: .
IQuantizingSessionAn
IQuantizingSession instance that can be used to quantize the colors of the specified
IReadableBitmapData instance.