mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-01-10 10:41:18 +03:00
24 lines
582 B
ReStructuredText
24 lines
582 B
ReStructuredText
12.1.0
|
|
------
|
|
|
|
API changes
|
|
===========
|
|
|
|
ImageMorph build_default_lut()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
To match the behaviour of :py:meth:`~PIL.ImageMorph.LutBuilder.build_lut`,
|
|
:py:meth:`~PIL.ImageMorph.LutBuilder.build_default_lut()` now returns the new LUT.
|
|
|
|
API additions
|
|
=============
|
|
|
|
Specify window in ImageGrab on macOS
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
When using :py:meth:`~PIL.ImageGrab.grab`, a specific window can now be selected on
|
|
macOS in addition to Windows. On macOS, this is a CGWindowID::
|
|
|
|
from PIL import ImageGrab
|
|
ImageGrab.grab(window=cgwindowid)
|