sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26556
Re: [Question #250653]: Sikuli and Vector Images
Question #250653 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/250653
Status: Open => Answered
RaiMan proposed the following answer:
Sikuli only sees pixels on the screen and does not know anything about how the image was rendered to the screen.
A basic requirement for Sikuli to find an image is that the visible image has the same size in pixels as the image we are using to search. If this is not the case, then you get a FindFailed.
The similarity score only tells you about how similar the sum of pixels are (which is some statistical value).
So if some app renders images differently in different environments
(like in your case), the image will not be found.
In your case you adjusted the image correctly to the new situation and
hence it was found.
We have a similar problem on Macs with Retina displays.
It is on the list for enhancements, to better support these situations
(using the same image successfully in different environments).
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.