← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #675303]: Sikuli - Image Scaling and Comparison Issue

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
1 --- Read and understand:
https://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

2 --- use 1.1.4
in any case (best support).
Wether it is sikulixapi.jar as a library jar or a dependency in a Maven/Gradle project does not matter.

3 --- compare the original shots with those on an offending system
using an image viewer, to find out the differences. If it is only size in pixels, then there is a new resize option (see Pattern class).
If it is in fact different rendering, then you have to create a different image set for each environment.

BTW: you should have a look at the image path feature in SikuliX and
have an image naming convention, to avoid those ugly path string
handlings and this unnecessary load into an array list.

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