Quote:
Originally Posted by Headpuster
hm.. there are two ways in my opinion.
Method 1:
Make a screenshot from the page and check every pixel with your picture.
The second method and the better one:
Download all pictures from the site, check the pixel (google for pixel - pixel check).
Greetings from AT.
|
Now I'm not sure does this solve my problem
(and dont have now time to test...). Maybe first one could work with timer with low interval but does it make a program laggy if it needs to take picture all the time?
I dont want to tell my program's main idea yet but lets have another example:
Let's think here is "3 pictures add"
(includes pictures A,B,C and they chance alternately) showing on the top of this site. I wanna do program with has timer (interval is really low) which checks:
- If site has picture A then draw a red dot above it
- If site has picture B then draw a green dot above it
- If site has picture C then draw a blue dot above it
Maybe this isnt the best example but I mean that I dont want to "work inside the program". I need to have a really low-interval timer
(or can I somehow check example's add chance all the time without timer?) which scans site/screen like a screenshot and then if found X it does Y.