mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Added release notes for #3364 [ci skip]
This commit is contained in:
parent
2483f6198c
commit
8bb5b6887b
|
@ -25,6 +25,13 @@ these lines looked unsightly. There is now an additional optional argument,
|
|||
``joint``, defaulting to ``None``. When it is set to ``curved``, the joints
|
||||
between the lines will become rounded.
|
||||
|
||||
ImageOps.pad
|
||||
^^^^^^^^^^^^
|
||||
|
||||
While ``ImageOps.fit`` allows users to crop images to a requested aspect ratio
|
||||
and size, new method ``ImageOps.pad`` pads images to fill a requested aspect
|
||||
ratio and size, filling new space with a provided ``color`` and positioning the
|
||||
image within the new area through a ``centering`` argument.
|
||||
|
||||
Other Changes
|
||||
=============
|
||||
|
|
Loading…
Reference in New Issue
Block a user