Skip to content

Commit

Permalink
Merge pull request #7608 from radarhere/releasenotes
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 8, 2023
2 parents 33d5a79 + 9e51738 commit 1a98590
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/releasenotes/10.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ TODO
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
=============
Expand All @@ -36,6 +38,19 @@ Added DdsImagePlugin enums
:py:class:`~PIL.DdsImagePlugin.DXGI_FORMAT` and :py:class:`~PIL.DdsImagePlugin.D3DFMT`
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
========

Expand Down

0 comments on commit 1a98590

Please sign in to comment.