When the display scale is not 100%, using the PIL will get a screenshot with offset.
I want to know what can I do to get the correct screenshot in Windows when display scale is not 100%
This is the PIL code
screenShot = ImageGrab.grab(bbox=(x1, y1, x2, y2))
screenShot.show()
If can use PIL or pyside to achieve the effect, it is the best to me. Thx.