Construct the quantizer

Namespace: DotNetNuke.Services.GeneratedImage.ImageQuantization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public Quantizer(
	bool singlePass
)
Visual Basic
Public Sub New ( 
	singlePass As Boolean
)

Parameters

singlePass
Type: System..::..Boolean
If true, the quantization only needs to loop through the source pixels once

Remarks

If you construct this class with a true value for singlePass, then the code will, when quantizing your image, only call the 'QuantizeImage' function. If two passes are required, the code will call 'InitialQuantizeImage' and then 'QuantizeImage'.

See Also