Is it possible to read pixel color?

451 views
Skip to first unread message

Kristofer Borvall

unread,
Mar 6, 2014, 3:09:52 AM3/6/14
to tas...@googlegroups.com
Hi,
Is it possible to read a pixel color at a specific location?

something like... 

read color X Y 
if color = FFFFFF then start application.

PC

unread,
Mar 6, 2014, 3:40:28 AM3/6/14
to tas...@googlegroups.com
I would love to know this too.. would help determine the status of some apps, or other potential situations.

Pent

unread,
Mar 6, 2014, 6:42:03 AM3/6/14
to tas...@googlegroups.com

Is it possible to read a pixel color at a specific location?

In theory you could do something like:

Script / Run Script, screencap -p /sdcard/out.png
Image / Load
Image / Test

However, the Test command doesn't exist yet :-)

I would propose to add a Screenshot command to do the first action
and then a Test command to test things such as pixel size.

Since those are pretty trivial to implement, I'll put them on my shortlist.

Pent

Kristofer Borvall

unread,
Mar 6, 2014, 7:09:20 AM3/6/14
to tas...@googlegroups.com

Kristofer Borvall

unread,
Apr 4, 2014, 3:56:54 PM4/4/14
to tas...@googlegroups.com
Was there any solution on this?
I would love to give it a try!

Pent

unread,
Apr 5, 2014, 1:59:29 AM4/5/14
to tas...@googlegroups.com
I unfortunately discovered that the screenshot command isn't usable from the device without root,
so I gave up in the idea, sorry.

Pent

tarek akkad

unread,
Jan 13, 2021, 4:35:11 PM1/13/21
to Tasker
I have a root, but I need help

jmjc...@gmail.com

unread,
Jan 13, 2021, 8:43:23 PM1/13/21
to Tasker
You don't need root if you have AutoInput. The AutoInput Screen Capture action can read pixel color
Reply all
Reply to author
Forward
0 new messages