We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36033e commit 3dc1937Copy full SHA for 3dc1937
docs/releasenotes/12.1.0.rst
@@ -41,6 +41,16 @@ TODO
41
API additions
42
=============
43
44
+Added ``scale_down`` argument to ``ImageGrab.grab()``
45
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
+
47
+:py:meth:`~PIL.ImageGrab.grab` now accepts an optional keyword argument of
48
+``scale_down``. This affects macOS screenshots with a ``bbox`` on a Retina screen. By
49
+default, images will be captured at 2x. If ``scale_down`` is ``True``, they will be at
50
+1x.
51
52
+Previously, macOS screenshots with a ``bbox`` were captured at 1x by default.
53
54
Specify window in ImageGrab on macOS
55
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
0 commit comments