mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Added release notes for #7123
This commit is contained in:
parent
b7f1af77fd
commit
0fb69fa821
|
@ -149,10 +149,13 @@ An optional line ``width`` parameter has been added to
|
|||
API Additions
|
||||
=============
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
Added ``alpha_only`` argument to ``getbbox()``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
TODO
|
||||
:py:meth:`~PIL.Image.Image.getbbox` now accepts a keyword argument of
|
||||
``alpha_only``. This is an optional flag, defaulting to ``True``. If ``True``
|
||||
and the image has an alpha channel, trim transparent pixels. Otherwise, trim
|
||||
pixels when all channels are zero.
|
||||
|
||||
Security
|
||||
========
|
||||
|
|
Loading…
Reference in New Issue
Block a user