sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29745
Re: [Question #258736]: inconsistent behaviour of exists()
Question #258736 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258736
Status: Open => Answered
RaiMan proposed the following answer:
Sorry for answering this late:
version 1.1.0 has features like you are looking for:
- images are cached (taken from memory, when used the 2nd+ time) in a configurable cache (standard 64MB)
- an image is first searched at the last match location, before looking in the whole region given (means the 2nd+ search lasts some milliseconds instead of some 100 milliseconds, if image is still where it was before
- the new Image class allows to use BufferedImages instead of image files, so you might implement your own caching system.
Since these new features are not yet documented, you have to look into
the Java docs (see nightly build page)
The fix for these inconsistencies in version 1.0.1 is to use version
1.1.0 ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.