asweigart / pyscreeze

PyScreeze is a simple, cross-platform screenshot module for Python 2 and 3.
BSD 3-Clause "New" or "Revised" License
193 stars 96 forks source link

Screenshot multiple monitors offset #92

Open nicofisseler opened 1 year ago

nicofisseler commented 1 year ago

The Screenshots are cropped without the multi monitor offset, resulting in the region agrument not working on the locateOnScreen function not working. Following line:

image

just needs the multi monitor offset subtracted like this:

image

This Screenshot is in line 512 _screenhot_osx in __init__.py