mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-02-05 06:49:32 +03:00
Added release notes
This commit is contained in:
parent
e32bfbacc2
commit
5b1a3ae392
|
|
@ -56,7 +56,7 @@ or the clipboard to a PIL image memory.
|
|||
:param scale_down: On macOS, Retina screens will provide images at 2x size by default. This will prevent that, and scale down to 1x.
|
||||
Keyword-only argument.
|
||||
|
||||
.. versionadded:: 12.1.0
|
||||
.. versionadded:: 12.2.0
|
||||
:return: An image
|
||||
|
||||
.. py:function:: grabclipboard()
|
||||
|
|
|
|||
60
docs/releasenotes/12.2.0.rst
Normal file
60
docs/releasenotes/12.2.0.rst
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
12.2.0
|
||||
------
|
||||
|
||||
Security
|
||||
========
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
:cve:`YYYY-XXXXX`: TODO
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
TODO
|
||||
|
||||
Backwards incompatible changes
|
||||
==============================
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
Deprecations
|
||||
============
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
API changes
|
||||
===========
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
API additions
|
||||
=============
|
||||
|
||||
Added ``scale_down`` argument to ``ImageGrab.grab()``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
:py:meth:`~PIL.ImageGrab.grab` now accepts an optional keyword argument of
|
||||
``scale_down``. This affects macOS screenshots with a ``bbox`` on a Retina screen. By
|
||||
default, images will be captured at 2x. If ``scale_down`` is ``True``, they will be at
|
||||
1x.
|
||||
|
||||
Previously, macOS screenshots with a ``bbox`` were captured at 1x by default.
|
||||
|
||||
Other changes
|
||||
=============
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
|
@ -15,6 +15,7 @@ expected to be backported to earlier versions.
|
|||
:maxdepth: 2
|
||||
|
||||
versioning
|
||||
12.2.0
|
||||
12.1.0
|
||||
12.0.0
|
||||
11.3.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user