Hi!, looking for some help with the compare feature. It seems straight forward but no matter what two images I compare the MagicErrorInfo properties are always 0.
This is the code in simple form where I'm attempting to compare to different images.
This is the code in simple form where I'm attempting to compare to different images.
Private Sub Testing()
Dim BaseImage As MagickImage = New MagickImage("C:\temp\BaseImage.jpg")
Dim CompareImage As MagickImage = New MagickImage("C:\temp\CompareImage.jpg")
Dim CompareInfo As MagickErrorInfo = BaseImage.Compare(CompareImage)
If CompareInfo.MeanErrorPerPixel > 0 Then
' Do Something
End If
End Sub
I'm I missing something or simply doing this incorrectly?