Function gifski::c_api::gifski_add_frame_rgb [−][src]
#[no_mangle]pub unsafe extern "C" fn gifski_add_frame_rgb(
handle: *const GifskiHandle,
frame_number: u32,
width: u32,
bytes_per_row: u32,
height: u32,
pixels: *const RGB8,
presentation_timestamp: f64
) -> 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.