Merge pull request #7608 from radarhere/releasenotes

This commit is contained in:
Hugo van Kemenade 2023-12-08 12:32:32 +02:00 committed by GitHub
commit 1a98590697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,12 @@ TODO
API Changes API Changes
=========== ===========
TODO Zero or negative font size error
^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TODO When creating a :py:class:`~PIL.ImageFont.FreeTypeFont` instance, either directly or
through :py:func:`~PIL.ImageFont.truetype`, if the font size is zero or less, a
:py:exc:`ValueError` will now be raised.
API Additions API Additions
============= =============
@ -36,6 +38,19 @@ Added DdsImagePlugin enums
:py:class:`~PIL.DdsImagePlugin.DXGI_FORMAT` and :py:class:`~PIL.DdsImagePlugin.D3DFMT` :py:class:`~PIL.DdsImagePlugin.DXGI_FORMAT` and :py:class:`~PIL.DdsImagePlugin.D3DFMT`
enums have been added to :py:class:`PIL.DdsImagePlugin`. enums have been added to :py:class:`PIL.DdsImagePlugin`.
JPEG restart marker interval
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When saving JPEG files, ``restart_marker_blocks`` and ``restart_marker_rows`` can now
be used to emit restart markers whenever the specified number of MCU blocks or rows
have been produced.
JPEG tables-only streamtype
^^^^^^^^^^^^^^^^^^^^^^^^^^^
When saving JPEG files, ``streamtype`` can now be set to 1, for tables-only. This will
output only the quantization and Huffman tables for the image.
Security Security
======== ========