public static bool CompareImages( Image firstImage, Image secondImage, ImageMaskArea maskArea, byte pixelTolerance, byte rgbTolerance )
- The expected image.
- The image to compare to the expected image.
- The mask area within the two images to use for the comparison.
- Optional. The percentage of pixels that can differ between the two mask areas, and still be considered a match. Default = 0.
- Optional. The percent by which the RGB values of the pixels in the two images can differ, and still be considered a match. Default = 0.