MCPcopy Create free account
hub / github.com/ImageOptim/libimagequant / liq_get_palette_impl

Function liq_get_palette_impl

src/capi.rs:15–17  ·  view source on GitHub ↗
(r: &mut QuantizationResult)

Source from the content-addressed store, hash-verified

13
14#[must_use]
15pub fn liq_get_palette_impl(r: &mut QuantizationResult) -> &Palette {
16 r.int_palette()
17}
18
19#[must_use]
20pub unsafe fn liq_image_create_rgba_rows_impl<'rows>(attr: &Attributes, rows: &'rows [*const RGBA], width: u32, height: u32, gamma: f64) -> Option<crate::image::Image<'rows>> {

Callers 1

liq_get_paletteFunction · 0.85

Calls 1

int_paletteMethod · 0.80

Tested by

no test coverage detected