sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05516
Re: [Question #169697]: Capture screenshot without IDE
Question #169697 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169697
Enix Shen posted a new comment:
since you use python, another choice is using PIL lib to capture the
pic. But this lib is just for windows.
see here http://www.pythonware.com/products/pil/
Example code:
from PIL import ImageGrab
ImageGrab.grab().save("screen_capture.jpg", "JPEG")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.