Quantizer Class
A generic implementation for any Color Quantizer.
Syntax
Namespace: FlexCel.Draw
public abstract class Quantizer
Constructors
Name | Description |
---|---|
Quantizer | Constructs the quantizer. |
Methods
Name | Description |
---|---|
Quantize | Quantize an image and return the resulting Result bitmap |
FirstPass | Execute the first pass through the pixels in the image |
SecondPass | Execute a second pass through the bitmap |
InitialQuantizePixel | Override this to process the pixel in the first pass of the algorithm |
QuantizePixel | Override this to process the pixel in the second pass of the algorithm |
GetPalette | Retrieve the palette for the quantized image |