← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #665359]: Image match successful on mac fails on windows

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
If you are using at least Java 8 and SikuliX 1.1.1 or 1.1.2 SikuliX
capture and search on Retina displays works, since internally everything
is handled with normal dpi automatically.

The problem with images working on a Mac and not on Windows usually has
to do with different rendering and/or image content differences.

Monitor size in pixels does not matter, as long as the images on the
target system are the same size in pixels (though they might look
smaller or larger depending on the monitor size).

Take care that the captured images concentrate on the key aspects in the
middle part and have as little background as possible towards the edges.

Compare captures from a Mac and from Windows with an ImageViewer
enlarging until you can see the pixels. You might notice differences
(e.g. aliasing of edges, ...).

If the differences cannot be minimized, you need a different image set
for Windows.

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