Bitmap check point is used to compare the bitmap files.
Script : Write a script to compare given bitmap files.
Optional Explicit
Dim filePath1,filePath2
filePath1=”D:\Vamsi\file1.bmp”
filePath2=”D:\Vamsi\file2.bmp”
Set bmpObj=CreateObject(“Mercury.FileCompare”)
compareResult=bmpObj.IsEqualBin(file1,file2,0,1)
If compareResult=0 Then
Msgbox “not match”
Else
Msgbox “match”
End If
Contributed by: Vamshi Gowtham
m.vamsigowtham@gmail.com
Script : Write a script to compare given bitmap files.
Optional Explicit
Dim filePath1,filePath2
filePath1=”D:\Vamsi\file1.bmp”
filePath2=”D:\Vamsi\file2.bmp”
Set bmpObj=CreateObject(“Mercury.FileCompare”)
compareResult=bmpObj.IsEqualBin(file1,file2,0,1)
If compareResult=0 Then
Msgbox “not match”
Else
Msgbox “match”
End If
Contributed by: Vamshi Gowtham
m.vamsigowtham@gmail.com