logo
#[no_mangle]
pub unsafe extern "C" fn gifski_add_frame_argb(
    handle: *const GifskiHandle,
    frame_number: u32,
    width: u32,
    bytes_per_row: u32,
    height: u32,
    pixels: *const ARGB8,
    presentation_timestamp: f64
) -> GifskiError
Expand description

Same as gifski_add_frame_rgba, except it expects components in ARGB order.

Bytes per row must be multiple of 4 and greater or equal width×4.

Colors are in sRGB, uncorrelated ARGB, with alpha byte first.

gifski_add_frame_rgba is preferred over this function.