IDithererInitialize Method

KGy SOFT Drawing Libraries Help
Gets an IDitheringSession instance that can be used to dither the result of the specified IQuantizingSession applied to the specified source.

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

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

Parameters

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

Return Value

Type: IDitheringSession
An IDitheringSession instance that can be used to dither the result of the specified IQuantizingSession applied to the specified source.
See Also

Reference