Skip to content

Commit 3dc1937

Browse files
committed
Added release notes
1 parent b36033e commit 3dc1937

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/releasenotes/12.1.0.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ TODO
4141
API additions
4242
=============
4343

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+
4454
Specify window in ImageGrab on macOS
4555
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4656

0 commit comments

Comments
 (0)