pub fn encode_frame_webp(rgba: &[u8], width: u32, height: u32) -> Vec<u8> ⓘAvailable on crate feature
snapshot only.Expand description
Encode rgba as a lossless WebP.
Available on the web too: a frame that fails a comparison is encoded there and handed to the runner, since the bytes only exist in the browser.