Skip to main content

compare

Function compare 

Source
pub fn compare(
    img1: &RgbaImage,
    img2: &RgbaImage,
    options: &CompareOptions,
) -> CompareResult
Expand description

Compare two images pixel by pixel.

If images have different dimensions, the comparison area is the minimum of both dimensions. Pixels outside the intersection in the larger image are marked as different.