sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10983
Re: [Question #199770]: whe I use capture a Region, where is the image saved in my computer?
Question #199770 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199770
Status: Open => Answered
RaiMan proposed the following answer:
In the Java environment, the image is not saved to disk by Sikuli at once, it stays a BufferedImage in memory.
ScreenImage has a getImage(), that returns the contained BufferedImage.
As you can see in the java docs: http://sikuli.org/doc/java-x/
ScreenImage has a getFilename(), that only in this moment (lazy method,
first time called) creates a file on disk and returns it.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.