what's the fastest (or just a fast way) to search for a pixel and then return its coordinates? i've done quite a bit of research online, and there seems to be a lot of dispute, or uncertainty on the topic.
Fastest way:
1. copy area of screen to bitmap buffer
2. search buffer for the color
3. extrapolate pixel coordinates from the index of the colorin the buffer
4. delete buffer
Seems round about, doesn't it? But it is fast.