Click or drag to resize

Quantizer Class

Defines an abstract class for Quantization. The code is from Morgan Skinner's article on optimizing color quantization at http://msdn2.microsoft.com/en-us/library/aa479306.aspx.
Inheritance Hierarchy

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public abstract class Quantizer

The Quantizer type exposes the following members.

Constructors
  NameDescription
Protected methodQuantizer
Construct the quantizer
Top
Methods
  NameDescription
Protected methodFirstPass
Execute the first pass through the pixels in the image
Protected methodGetPalette
Retrieve the palette for the quantized image
Protected methodInitialQuantizePixel
Override this to process the pixel in the first pass of the algorithm
Public methodQuantize
Quantize an image and return the resulting output bitmap
Protected methodQuantizePixel
Override this to process the pixel in the second pass of the algorithm
Protected methodSecondPass
Execute a second pass through the bitmap
Top
See Also