sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34511
Re: [Question #271218]: Making the image search size-independent
Question #271218 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271218
Status: Open => Answered
RaiMan proposed the following answer:
yes, if the image currently shown on the screen does not have the exact
size in pixels as the given image to search, then it will not be found.
Currently there is no easy solution for this problem.
Since version 1.1.0 it is at least possible to resize an image:
baseImg = Image.create("someImg.png")
halfImg = baseImg.resize(0.5)
for the API of class Image look here:
http://nightly.sikuli.de/docs/index.html
... but I guess in your case you do not know what resize factor to use
in the special case.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.