Page 1 of 1

Detect Color at Pixel Coordinate

Posted: 03 May 2017 20:07
by ar234948
I am requesting a determination / detection of a color at a specified pixel coordinate.

Thank you.

Re: Detect Color at Pixel Coordinate

Posted: 04 May 2017 19:10
by Martin
Hi,

You could use action Take Screenshot to store the screen in a file, then load the image using Init Variable Image File and then use an action Script with function getPixelColor to determine the color of one pixel.
Please note that taking a screenshot is quite a slow process so it might not be a viable solution. Unfortunately Android provides no other way to access the screen so there's no way to improve the performance at the moment.

Regards,
Martin