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: 5.0.0
Syntax

IDitheringSession Initialize(
	IReadableBitmapData source,
	IQuantizingSession quantizingSession
)

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.

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