MyImageSearch with tolerance.

11/05/2013 18:56 fuso98#1
As someone know myImageSearch.au3 UDF allow the programmer to search ALL images that are on a region of 800x600. But this UDF not have a tolerance for search images. How can i add tolerance (or shade variation)?
There's another UDF that allow me to do the same?
11/05/2013 19:08 alpines#2
You could get the checksum of the area and compare it with the image you have.
The difference between the two values is the tolerance you want.
Code:
PixelChecksum
This command gets only the pixels you have on screen.
For the file you should use GDI+.
11/05/2013 19:11 fuso98#3
I don't need to know what tolerance i need to use. I need to implement tolerance in MyImageSearch.au3. Because this UDF don't have this parameter. Does someone know how to do it?
11/05/2013 19:31 alpines#4
I told you how to do that. Ignoring my answer doesn't help you.
11/05/2013 19:58 fuso98#5
Quote:
Originally Posted by alpines View Post
I told you how to do that. Ignoring my answer doesn't help you.
Sorry, i did't read good your answer. :o
Btw, i don't know how to use well GDI+ :( what function you think i need to use?
11/05/2013 20:42 alpines#6
You could get the Checksum on screen with PixelChecksum and the file with opening or displaying it with [Only registered and activated users can see links. Click Here To Register...] and get the checksum from it too.
11/05/2013 21:54 fuso98#7
I need to make a bot, so i can't use SpashImageOn.