pub fn compare<P>(reference: P, current: P) -> ImageResult<DynamicImage>Expand description
Takes two images and computes the difference pixel by pixel.
The result is a new image using the reference image as the base and a color overlay with the
difference from the current image.
Returns the reference image if both images are equal.