OpenJPEG 2.4.0 or later is required for PLT markers

This commit is contained in:
Andrew Murray 2023-03-29 19:18:50 +11:00
parent 7d6ff23e1f
commit 598216fb46

View File

@ -596,9 +596,9 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
.. versionadded:: 9.5.0
**plt**
If ``True`` then include a PLT (packet length, tile-part header) marker
segment in the produced file.
The default is to not include it.
If ``True`` and OpenJPEG 2.4.0 or later is available, then include a PLT
(packet length, tile-part header) marker in the produced file.
Defaults to ``False``.
.. versionadded:: 9.5.0