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