mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-06 13:15:48 +03:00
Document JPEG streamtype option
streamtype=1 is new in 10.2.0; the other values have existed since Git pre-history.
This commit is contained in:
parent
d7fa0b9d96
commit
dafaa1c512
|
@ -521,6 +521,19 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
||||||
|
|
||||||
.. versionadded:: 2.5.0
|
.. versionadded:: 2.5.0
|
||||||
|
|
||||||
|
**streamtype**
|
||||||
|
Allows storing images without quantization and Huffman tables, or with
|
||||||
|
these tables but without image data. This is useful for container formats
|
||||||
|
or network protocols that handle tables separately and share them between
|
||||||
|
images.
|
||||||
|
|
||||||
|
* ``0`` (default): interchange datastream, with tables and image data
|
||||||
|
* ``1``: abbreviated table specification (tables-only) datastream
|
||||||
|
|
||||||
|
.. versionadded:: 10.2.0
|
||||||
|
|
||||||
|
* ``2``: abbreviated image (image-only) datastream
|
||||||
|
|
||||||
**comment**
|
**comment**
|
||||||
A comment about the image.
|
A comment about the image.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user