Environment.CompareWithReferenceImage (Bitmap, Bitmap, Bitmap, Double, Color) Method
Parameters
- expectedImage
- Bitmap
The reference bitmap
- actualImage
- Bitmap
The current bitmap as input
- diffImage
- Bitmap
The generated image with the differences
- pixelTransparency
- double
Transparency factor [between 0.0 and 1.0] for the generated image.
- errorPixelColor
- Color
The color used to show the differences
Return Value
doubleThe mismatch percentage