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.
pub fn WebPDecodeBGR(
data: &[u8],
) -> Result<(u32, u32, WebpBox<[u8]>), WebPSimpleError>
Same as WebPDecodeRGBA
, but returning B, G, R, B, G, R… ordered data.
If the bitstream contains transparency, it is ignored.