Python windows 7 screenshot without PIL

前端 未结 3 1404
忘了有多久
忘了有多久 2020-12-13 10:42

I want to take a screenshot using python.

I have tried using PIL, but since I am using 64bit windows and python PIL does not work (I could only find 32bit PIL versio

3条回答
  •  别那么骄傲
    2020-12-13 11:26

    I got the same problem on PIL or pyscreenshot, here's how I solved it.

    Right-click on python.exe, Properties, Compatibility tab, check 'Disable display scaling on high DPI settings'. Repeat for pythonw.exe.

提交回复
热议问题