Table of Contents

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
FirstPass Execute the first pass through the pixels in the image
GetPalette Retrieve the palette for the quantized image
InitialQuantizePixel Override this to process the pixel in the first pass of the algorithm
Quantize Quantize an image and return the resulting Result bitmap
QuantizePixel Override this to process the pixel in the second pass of the algorithm
SecondPass Execute a second pass through the bitmap