File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 2020API 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
2830API Additions
2931=============
@@ -36,6 +38,19 @@ Added DdsImagePlugin enums
3638:py:class: `~PIL.DdsImagePlugin.DXGI_FORMAT ` and :py:class: `~PIL.DdsImagePlugin.D3DFMT `
3739enums 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+
3954Security
4055========
4156
You can’t perform that action at this time.
0 commit comments