pub fn store_frame_webp(
path: &Path,
rgba: &[u8],
width: u32,
height: u32,
) -> Result<(), SnapshotError>Available on crate feature
snapshot and non-WebAssembly only.Expand description
Write rgba to path as a lossless WebP, creating its directory.