IDithererInitialize Method

Gets an IDitheringSession instance that can be used to dither the result of the specified IQuantizingSession applied to the specified source.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.3
C#
IDitheringSession Initialize(
	IReadableBitmapData source,
	IQuantizingSession quantizingSession,
	IAsyncContext? asyncContext = null
)

Parameters

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: .

Return Value

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

See Also