Skip to content

Commit 6a0ac41

Browse files
committed
Added mozjpeg documentation
1 parent d2122ab commit 6a0ac41

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

docs/reference/features.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Feature version numbers are available only where stated.
5454
Support for the following features can be checked:
5555

5656
* ``libjpeg_turbo``: (compile time) Whether Pillow was compiled against the libjpeg-turbo version of libjpeg. Compile-time version number is available.
57+
* ``mozjpeg``: (compile time) Whether Pillow was compiled against the mozjpeg version of libjpeg. Compile-time version number is available.
5758
* ``zlib_ng``: (compile time) Whether Pillow was compiled against the zlib-ng version of zlib. Compile-time version number is available.
5859
* ``raqm``: Raqm library, required for ``ImageFont.Layout.RAQM`` in :py:func:`PIL.ImageFont.truetype`. Run-time version number is available for Raqm 0.7.0 or newer.
5960
* ``libimagequant``: (compile time) ImageQuant quantization support in :py:func:`PIL.Image.Image.quantize`. Run-time version number is available.

docs/releasenotes/11.2.0.rst

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
11.2.0
2+
------
3+
4+
Security
5+
========
6+
7+
TODO
8+
^^^^
9+
10+
TODO
11+
12+
:cve:`YYYY-XXXXX`: TODO
13+
^^^^^^^^^^^^^^^^^^^^^^^
14+
15+
TODO
16+
17+
Backwards Incompatible Changes
18+
==============================
19+
20+
TODO
21+
^^^^
22+
23+
Deprecations
24+
============
25+
26+
TODO
27+
^^^^
28+
29+
TODO
30+
31+
API Changes
32+
===========
33+
34+
TODO
35+
^^^^
36+
37+
TODO
38+
39+
API Additions
40+
=============
41+
42+
Check for mozjpeg
43+
^^^^^^^^^^^^^^^^^
44+
45+
You can check if Pillow has been built against the mozjpeg version of the
46+
libjpeg library, and what version of mozjpeg is being used::
47+
48+
from PIL import features
49+
features.check_feature("mozjpeg") # True or False
50+
features.version_feature("mozjpeg") # "4.1.1" for example, or None
51+
52+
Other Changes
53+
=============
54+
55+
TODO
56+
^^^^
57+
58+
TODO

docs/releasenotes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ expected to be backported to earlier versions.
1414
.. toctree::
1515
:maxdepth: 2
1616

17+
11.2.0
1718
11.1.0
1819
11.0.0
1920
10.4.0

0 commit comments

Comments
 (0)