Expand description
Exports API for C programs and C-FFI-compatible languages. See libimagequant.h
or https://pngquant.org/lib/ for C docs.
This crate is not supposed to be used in Rust directly. For Rust, see the parent imagequant crate.
Structs§
- AnySync
Send Ptr - A
void*
pointer to any data, as long as it’s thread-safe - liq_
attr - liq_
histogram - liq_
image - liq_
ownership - liq_
result
Enums§
- liq_
error - Error codes
Functions§
- liq_
attr_ copy - liq_
attr_ create - liq_
attr_ create_ with_ allocator Deprecated - liq_
attr_ destroy - liq_
attr_ ⚠set_ progress_ callback - liq_
executing_ ⚠user_ callback - This is just to exist in backtraces of crashes that aren’t mine
- liq_
get_ max_ colors - liq_
get_ max_ quality - liq_
get_ min_ opacity Deprecated - liq_
get_ min_ posterization - liq_
get_ min_ quality - liq_
get_ output_ gamma - liq_
get_ palette - liq_
get_ quantization_ error - liq_
get_ quantization_ quality - liq_
get_ remapping_ error - liq_
get_ remapping_ quality - liq_
get_ speed - liq_
histogram_ ⚠add_ colors - liq_
histogram_ add_ fixed_ color - liq_
histogram_ add_ image - liq_
histogram_ create - liq_
histogram_ destroy - liq_
histogram_ quantize - liq_
image_ add_ fixed_ color - liq_
image_ ⚠create_ custom - liq_
image_ ⚠create_ rgba - liq_
image_ ⚠create_ rgba_ rows - liq_
image_ destroy - liq_
image_ get_ height - liq_
image_ get_ width - liq_
image_ quantize - liq_
image_ set_ background - liq_
image_ ⚠set_ importance_ map - liq_
image_ ⚠set_ memory_ ownership - liq_
quantize_ image - liq_
result_ destroy - liq_
result_ ⚠set_ progress_ callback - liq_
set_ dithering_ level - liq_
set_ last_ index_ transparent - liq_
set_ ⚠log_ callback - liq_
set_ ⚠log_ flush_ callback - liq_
set_ max_ colors - liq_
set_ min_ opacity Deprecated - liq_
set_ min_ posterization - liq_
set_ output_ gamma - liq_
set_ quality - liq_
set_ speed - liq_
version - liq_
write_ ⚠remapped_ image - liq_
write_ ⚠remapped_ image_ rows