Crate imagequant_sys

Source
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§

AnySyncSendPtr
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_allocatorDeprecated
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_opacityDeprecated
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_opacityDeprecated
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

Type Aliases§

liq_color
liq_histogram_entry
liq_image_get_rgba_row_callback
liq_log_callback_function
liq_log_flush_callback_function
liq_palette
liq_progress_callback_function