Skip to main content

compare_frame_webp

Function compare_frame_webp 

Source
fn compare_frame_webp(
    path: &Path,
    rgba: &[u8],
    width: u32,
    height: u32,
    channel_delta: u8,
) -> Result<Comparison, SnapshotError>
Available on crate feature snapshot and non-WebAssembly only.
Expand description

Measure the frame rgba against the snapshot at path.