Function webp_picture_has_transparency

Source
pub unsafe fn webp_picture_has_transparency(
    picture: *const WebPPicture,
) -> c_int
Expand description

Scan the picture ‘picture’ for the presence of non fully opaque alpha values.

Returns true in such case. Otherwise returns false (indicating that the alpha plane can be ignored altogether e.g.).