pub unsafe extern "C" fn WebPPictureImportRGB(
picture: *mut WebPPicture,
rgb: *const u8,
rgb_stride: c_int,
) -> c_int
Expand description
Colorspace conversion function to import RGB samples. Previous buffer will be free’d, if any. *rgb buffer should have a size of at least height * rgb_stride. Returns false in case of memory error.