Skip to main content

changed_pixel_count

Function changed_pixel_count 

Source
pub fn changed_pixel_count(
    before: &RobotScreenshot,
    after: &RobotScreenshot,
    channel_threshold: u8,
) -> usize
Expand description

Count pixels that differ between two screenshots by more than channel_threshold on any RGBA channel.