Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compare images
something wrong?

Copy      Help
str a="$Desktop$\prueba.bmp"
str b="$Desktop$\prueba3.bmp"

if(a<>b) mes("<>")
getclip does not store the clipboard data to the variable when CF_BITMAP format is specified. It only writes the bitmap to the file. You can then compare files:

Is it possible to compare the files to get the X and Y coordinates of the first occurrence of a difference is found in the second image?
Quick Macros does not have such function.
Could get all pixels and compare in loop, but in QM it is slow. Could use C or C#, but in any case need some programming.
Or find a library that can do it. For example, look in Freeimage C documentation:

Forum Jump:

Users browsing this thread: 1 Guest(s)