Function gifski::c_api::gifski_add_fixed_color

source ·
#[no_mangle]
pub unsafe extern "C" fn gifski_add_fixed_color(
    handle: *mut GifskiHandle,
    col_r: u8,
    col_g: u8,
    col_b: u8
) -> GifskiError
Expand description

Adds a fixed color that will be kept in the palette at all times.

Only valid immediately after calling gifski_new, before any frames are added.