Skip to content

Commit 1a98590

Browse files
authored
Merge pull request #7608 from radarhere/releasenotes
2 parents 33d5a79 + 9e51738 commit 1a98590

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

docs/releasenotes/10.2.0.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ TODO
2020
API Changes
2121
===========
2222

23-
TODO
24-
^^^^
23+
Zero or negative font size error
24+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525

26-
TODO
26+
When creating a :py:class:`~PIL.ImageFont.FreeTypeFont` instance, either directly or
27+
through :py:func:`~PIL.ImageFont.truetype`, if the font size is zero or less, a
28+
:py:exc:`ValueError` will now be raised.
2729

2830
API Additions
2931
=============
@@ -36,6 +38,19 @@ Added DdsImagePlugin enums
3638
:py:class:`~PIL.DdsImagePlugin.DXGI_FORMAT` and :py:class:`~PIL.DdsImagePlugin.D3DFMT`
3739
enums have been added to :py:class:`PIL.DdsImagePlugin`.
3840

41+
JPEG restart marker interval
42+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43+
44+
When saving JPEG files, ``restart_marker_blocks`` and ``restart_marker_rows`` can now
45+
be used to emit restart markers whenever the specified number of MCU blocks or rows
46+
have been produced.
47+
48+
JPEG tables-only streamtype
49+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
50+
51+
When saving JPEG files, ``streamtype`` can now be set to 1, for tables-only. This will
52+
output only the quantization and Huffman tables for the image.
53+
3954
Security
4055
========
4156

0 commit comments

Comments
 (0)