Crate imagequant
source · [−]Expand description
Converts RGBA images to 8-bit with alpha channel.
See examples/
directory for example code.
Structs
Starting point and settings for the quantization process
Generate one shared palette for multiple images
Number of pixels in a given color for Histogram::add_colors()
Describes image dimensions and pixels for the library
RGBA colors obtained from QuantizationResult
Remapping step, computed from Attributes::quantize()
Enums
Result of callback in Attributes::set_progress_callback
Error codes
Functions
Start here: creates new handle for library configuration
Type Definitions
8-bit RGBA in sRGB. This is the only color format publicly used by the library.