IDithererInitialize Method
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
IDitheringSession Initialize(
IReadableBitmapData source,
IQuantizingSession quantizingSession,
IAsyncContext? asyncContext = null
)
Function Initialize (
source As IReadableBitmapData,
quantizingSession As IQuantizingSession,
Optional asyncContext As IAsyncContext = Nothing
) As IDitheringSession
IDitheringSession^ Initialize(
IReadableBitmapData^ source,
IQuantizingSession^ quantizingSession,
IAsyncContext^ asyncContext = nullptr
)
abstract Initialize :
source : IReadableBitmapData *
quantizingSession : IQuantizingSession *
?asyncContext : IAsyncContext
(* Defaults:
let _asyncContext = defaultArg asyncContext null
*)
-> IDitheringSession
- source IReadableBitmapData
- The dithering session to be initialized will be performed on the specified IReadableBitmapData instance.
- quantizingSession IQuantizingSession
- The IQuantizingSession to which the dithering should be applied.
- asyncContext IAsyncContext (Optional)
- Contains information for asynchronous processing about the current operation. This parameter is optional.
Default value: .
IDitheringSessionAn
IDitheringSession instance that can be used to dither the result of the specified
IQuantizingSession
applied to the specified
source.