Function libwebp::WebPDecodeBGR

source ·
pub fn WebPDecodeBGR(
    data: &[u8]
) -> Result<(u32, u32, WebpBox<[u8]>), WebPSimpleError>
Expand description

Same as WebPDecodeRGBA, but returning B, G, R, B, G, R… ordered data.

If the bitstream contains transparency, it is ignored.