Answer the question
In order to leave comments, you need to log in
How to get point color from coordinates in linux?
Hello. You need to get the color of a point on the screen from the console, knowing the coordinates of this point.
Tried via "grabc" and "import -window root -depth 8 -crop 1x1+$X+$Y txt:-" .
Are there any other ways? I am writing a clicker for a simple toy, I need to check the color at certain points, thanks in advance.
Answer the question
In order to leave comments, you need to log in
This can probably be seen in the implementations of gcolor and gpick
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question