OctreeQuantizer Class
Reduce the number of colors of an image. This class needs UNMANAGED permissions in order to be able to modify the bits in the image.
Syntax
Namespace: FlexCel.Draw
public class OctreeQuantizer: Quantizer
Constructors
Name | Description |
---|---|
OctreeQuantizer | Constructs the octree quantizer. |
Methods
Name | Description |
---|---|
ConvertTo256Colors | Overloaded ConvertTo256Colors(Image, Bitmap) ConvertTo256Colors(Image) |
InitialQuantizePixel | 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 |