Page 1 of 1

Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10

Posted: 22 Jul 2016, 16:35
by leosouza85
I was suffering with pixelsearch and pixelgetcolor being very very slow in windows 7 and 10. So I did some research, tests and benchmarks and found that the cause is windows desktop theme effects...

Performance improves in the same script from 1300 ms to 15 ms


Solution for Windows Vista. and 7
Open the script in compatibility mode with windows XP. Or use windows classic theme.

Windows 8 and 10:

Since is not possible to use windows classic theme if you install the classic shell app and use classic style you are good to go.

Re: Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10

Posted: 23 Jul 2016, 12:13
by Xtra
leosouza85 wrote:
Performance improves in the same script from 1.300 ms to 15 ms
That would make it slower? 1.3000 < 15

Re: Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10

Posted: 23 Jul 2016, 12:38
by leosouza85
Xtra wrote:
leosouza85 wrote:
Performance improves in the same script from 1.300 ms to 15 ms
That would make it slower? 1.3000 < 15
Sorry I used the wrong notation, I mean 1300 vs 15 ms.

Re: Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10

Posted: 01 Mar 2017, 07:11
by HugoSr
leosouza85 wrote:I was suffering with pixelsearch and pixelgetcolor being very very slow in windows 7 and 10. So I did some research, tests and benchmarks and found that the cause is windows desktop theme effects...

Performance improves in the same script from 1300 ms to 15 ms


Solution for Windows Vista. and 7
Open the script in compatibility mode with windows XP. Or use windows classic theme.

Windows 8 and 10:

Since is not possible to use windows classic theme if you install the classic shell app and use classic style you are good to go.
Sorry, but it doesn't work for me with Windows 10 and Classic Theme in Classic Shell.