Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
It would probably be worth it to do some testing to see which method is more efficient. Using ImgCompare() will give results of varying degrees of sameness or differences between images based on an algorithm that does some sort of [sophisticated] comparision of the images. The MD5 hash method will simply perform a brute-force number crunching algorithm to get the hash value. If the images even differ by a single bit [either different values or different file sizes] then the MD5 hash values will be different.
The two different methods would be appropriate for different applications. If you have a whole bunch of image files on disk and think that some of them are simply copies of the same file under different names then the MD5 hash method would probably be the fastest. If you have a group of image files that you think are slightly different variants of each other and you want to determine how similar they are, then the ImgCompare() method will tell you what you want to know but I suspect that it will take more CPU cycles to perform those comparisons.
Article ID: W15983
File Created: 2004:03:30:15:42:06
Last Updated: 2004:03:30:15:42:06