Skip to content

Commit

Permalink
Merge pull request #7243 from radarhere/releasenotes
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jun 30, 2023
2 parents b7f1af7 + 0fb69fa commit 7c945f5
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 7c945f5

Please sign in to comment.