希望macaca java api增加一个获取手机分辨率的方法。现在getWindowSize取到的是窗口大小
截屏获取到的图像是原始分辨率的图像,而getWindowSize取到的是窗口大小,。我这边有个需求是获取屏幕指定一个位置的图像,无法根据windowSize直接去计算位置。希望家一个获取分辨率的方法
-
Macaca Version: 2.0.30
-
Macaca Doctor Logs:
-
Operate System: Mac
-
Programming Language: java
This is the translated issue:
Hope macaca java api to increase a cell phone resolution. GetWindowSize is now the size of the window
The image captured by the screen capture is the original resolution image, and getWindowSize is the window size. There is a requirement on my side to get an image with a specified position on the screen. I can't directly calculate the position based on windowSize. Hope home a way to get resolution
-
Macaca Version: 2.0.30
-
Macaca Doctor Logs:
-
Operate System: Mac
-
Programming Language: Java
iOS 平台还是 Android呢?
This is the translated issue comment: @xudafeng
Is the iOS platform or Android?
ios下
This is the translated issue comment: @rill
Under ios