Function WebPPictureImportRGBX

Source
pub unsafe extern "C" fn WebPPictureImportRGBX(
    picture: *mut WebPPicture,
    rgbx: *const u8,
    rgbx_stride: c_int,
) -> c_int
Expand description

Same as WebPPictureImportRGB, but for RGBA buffer. Imports the RGB direct from the 32-bit format input buffer ignoring the alpha channel. Avoids needing to copy the data to a temporary 24-bit RGB buffer to import the RGB only.