Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with picking areas
#5
Quote:colors of several pixels

This is the most difficult case.
To compare exact image, could use scan.
To compare single pixel, could use pixel, like QM_Expert did.
Now probably need to call pixel many times.

pixel is quite slow, therefore it is better to use function GetRectPixels to get colors of all pixels in the window into array, and then compare elements of the array. The function is here:

How to get Bitmap bits array (RGB)


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)