'Declaration Public Overloads Function CompareWithReferenceImage( _ ByVal expectedImage As Bitmap, _ ByRef actualImage As Bitmap, _ ByRef diffImage As Bitmap, _ ByVal viewType As viewType, _ ByVal pixelTransparency As Double, _ ByVal errorPixelColor As Color _ ) As Double
public double CompareWithReferenceImage( Bitmap expectedImage, out Bitmap actualImage, out Bitmap diffImage, viewType viewType, double pixelTransparency, Color errorPixelColor )
Parameters
- expectedImage
- The reference bitmap
- actualImage
- The current bitmap as output
- diffImage
- The generated image with the differences
- viewType
- The viewType.
- pixelTransparency
- Transparency factor [between 0.0 and 1.0] for the generated image.
- errorPixelColor
- The color used to show the differences
Return Value
The mismatch percentage