Question #694553 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694553

    Status: Open => Answered

RaiMan proposed the following answer:
PIL does not work with Jython (C-based).

SikuliX has a (secret ;-) feature Location.getColor(), which returns a
Java object Color.

How to get the color information from that object, look at the java docs:
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Color.html

In SikuliX scripts you principally can use any Java classes.

You might find a suitable Java library, put it on the class path at runtime and 
use it.
https://jython.readthedocs.io/en/latest/JythonAndJavaIntegration/

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to