After upgrade of Java (java 17) and Sikulix (2.0.5) to latest versions, existing Images are not getting identified which used to work before the upgrade

Asked by sampathkumarv

After upgrade of Java (java 17) and SikulixApi (2.0.5) to latest versions, existing Images are not getting identified which used to work before the upgrade

Previous State(Before Update)
a. JAVA Version : Java 8
b. Windows OS : Window: 10
c. Windows Display Setting : 1920 x 1080
d. Windows Scale and Layout (Change the size of text, apps) : 125%
e. SikulixApi Version : 1.1.1
f. Sikuli Screen object size: 1920 x 1080

Code:
      screen = new Screen();
        System.out.println(screen.w);
        System.out.println(screen.h);

Output : 1920, 1080

Current State(After Update)
a. JAVA Version : Java 17
b. Windows OS : Windows 10
c. Windows Display Setting: 1920 x 1080
 d. Windows Scale and Layout (Change the size of text, apps) : 125%
e. SikulixApi Version : 2.0.5
f. Sikuli Screen object size: 1536 x 864

Code:
      screen = new Screen();
        System.out.println(screen.w);
        System.out.println(screen.h);

Output : 1536, 864

Another Option tried:

Used Settings.AlwaysResize = 0.8f to resize the existing images in runtime, However only few images are getting identified but not all of them.

Is there any configuration on SikulixApi to get actual screen size (1920 x 1080) without scaling so that existing images can work, Please advise

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.