Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/handbook/image-file-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,19 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:

.. 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**
A comment about the image.

Expand Down