← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #164161]: [How to] Capture screenshot directly using java Robot features

 

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

Tsung-Hsiang Chang posted a new comment:
Actually Screen.capture returns a ScreenImage
(http://sikuli.org/doc/java-x/org/sikuli/script/ScreenImage.html), which
has a getImage method returns a java.awt.image.BufferedImage. One can
use ImageIO.write to write this BufferedImage to disk with any format
that ImageIO supports.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.