Skip to content

Commit

Permalink
Merge pull request #7601 from bgilbert/streamtype
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 5, 2023
2 parents 0a66b98 + dafaa1c commit 7d892d3
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 7d892d3

Please sign in to comment.