Crate imagequant

source ·
Expand description

https://pngquant.org/lib/

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
Remapping step, computed from Attributes::quantize()

Enums

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.