Pillow/docs/releasenotes/9.5.0.rst

73 lines
1.3 KiB
ReStructuredText
Raw Normal View History

9.5.0
-----
Backwards Incompatible Changes
==============================
TODO
^^^^
TODO
Deprecations
============
TODO
^^^^
TODO
API Changes
===========
TODO
^^^^
TODO
API Additions
=============
2023-03-09 05:34:44 +03:00
QOI file format
^^^^^^^^^^^^^^^
Pillow can now read images in Quite OK Image format.
2023-03-09 05:34:44 +03:00
Added ``dpi`` argument when saving PDFs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When saving a PDF, resolution could already be specified using the
``resolution`` argument. Now, a tuple of ``(x_resolution, y_resolution)`` can
be provided as ``dpi``. If both are provided, ``dpi`` will override
``resolution``.
Added ``corners`` argument to ``ImageDraw.rounded_rectangle()``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:py:meth:`.ImageDraw.rounded_rectangle` now accepts a keyword argument of
``corners``. This a tuple of Booleans, specifying whether to round each corner,
``(top_left, top_right, bottom_right, bottom_left)``.
Security
========
TODO
^^^^
TODO
Other Changes
=============
2023-03-12 15:49:06 +03:00
Added support for saving PDFs in RGBA mode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-03-12 15:49:06 +03:00
Using the JPXDecode filter, PDFs can now be saved in RGBA mode.
2023-03-13 09:00:07 +03:00
Improved I;16N support
^^^^^^^^^^^^^^^^^^^^^^
Support has been added for I;16N access, packing and unpacking. Conversion to
and from L mode has also been added.