As I was too limited by what was feasible with PixelSearch in Autoit, I wrote an optimized DLL in C++ for searching pixels on the screen. The most basic function allows you to find the pixel in a given color - as PixelSearch - but instead of returning the first found, it returns the closest to a given point. It can go much further: - Search for 'spot' the closest (NxN square containing P pixels that meet the criteria of color mentioned) - Maintains a list containing up to 1024 colors (search p
Please review this, post I made regarding getting Pixel colors and windows 10,
Your library helps a bit, but still does not provide the speed in Windows 10 that the basic autoit PixelGetColor has in Windows 7.
This library does help quite a bit in Windows 10 compared to PixelGetColor, with that example code in the linked post. It brings the execution down to 3 seconds including script startup time. Keep in mind, PixelGetColor on a 39x47 rectangle 8 times is .3 seconds in wondows 7.