Function gifski::c_api::gifski_add_frame_rgb [] [src]

#[no_mangle]
pub extern "C" fn gifski_add_frame_rgb(
    handle: *mut GifskiHandle,
    index: u32,
    width: u32,
    bytes_per_row: u32,
    height: u32,
    pixels: *const RGB8,
    delay: u16
) -> GifskiError

Same as gifski_add_frame_rgba, except it expects RGB components (3 bytes per pixel)

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