Skip to content

Commit

Permalink
Added release notes for #7123
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jun 30, 2023
1 parent b7f1af7 commit 0fb69fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/releasenotes/10.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
========
Expand Down

0 comments on commit 0fb69fa

Please sign in to comment.