← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #632493]: obout Capture

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Supposing you are talking about the Java level API, ...

at 1: ... then yes, Screen.capture() returns a ScreenImage object, that
in turn has some methods to save the content and to access the
BufferedImage directly.

at 2: capture() silently captures the given region, whereas
userCapture() is the interactive capture feature, that allows the user,
to define the region to be captured by dragging over the screen.

see:
https://raiman.github.io/SikuliX-2014/javadocs/index.html

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