Module quant

Module quant 

Source
Expand description

Quantization algorithms for GIF. Quantization algorithms for GIF.

Implements K-Means clustering for optimal palette generation.

Modules§

dither
Perceptual Dithering Algorithms.
zeng
Zeng Palette Reordering.

Structs§

KMeansQuantizer
A K-Means++ based quantizer that operates in CIELAB space.
Palette
A collection of colors representing a GIF palette.
QuantizationResult
Result of quantization including the palette and a mapping from the intermediate refinement indices to the final reordered indices.
Rgb
Representation of an RGB color.

Enums§

DitherType
Dithering algorithms supported by Pixie-Anim.

Traits§

Quantizer
Common trait for color quantizers.