Quantizer.Quantizer Constructor

Namespace:
Weavy.Core.Imaging
Assembly:
Weavy.Core.dll

Quantizer(bool)

Construct the quantizer

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

public Quantizer(bool fixedPalette)

Parameters

fixedPalette
bool

If true, the quantization only needs to loop through the source pixels once - InitialQuantiize