Crate imagequant[−][src]
https://pngquant.org/lib/
Converts RGBA images to 8-bit with alpha channel.
This is based on imagequant library, which generates very high quality images.
See examples/
directory for example code.
Re-exports
pub use crate::ffi::liq_error::*; |
Structs
Attributes | Settings for the conversion proces. Start here. |
Histogram | Generate one shared palette for multiple images. |
Image | Describes image dimensions for the library. |
QuantizationResult | Palette inside. |
Enums
liq_error |
Functions
new | Start here: creates new handle for library configuration |
Type Definitions
Color | 8-bit RGBA. This is the only color format used by the library. |
ConvertRowUnsafeFn | Generate image row on the fly |
HistogramEntry | Number of pixels in a given color |
RGBA | 8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque. |