Function webp_decode_rgb

Source
pub unsafe fn webp_decode_rgb(
    data: *const u8,
    data_size: usize,
    width: *mut c_int,
    height: *mut c_int,
) -> *mut u8
Expand description

Same as WebPDecodeRGBA, but returning R, G, B, R, G, B… ordered data. If the bitstream contains transparency, it is ignored.