Skip to content

Commit

Permalink
Add release note for JPEG keep_rgb option
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilbert committed Dec 14, 2023
1 parent 0579883 commit 95e7d7d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/releasenotes/10.2.0.rst
Expand Up @@ -46,6 +46,14 @@ Added DdsImagePlugin enums
:py:class:`~PIL.DdsImagePlugin.DXGI_FORMAT` and :py:class:`~PIL.DdsImagePlugin.D3DFMT`
enums have been added to :py:class:`PIL.DdsImagePlugin`.

JPEG RGB color space
^^^^^^^^^^^^^^^^^^^^

When saving JPEG files, ``keep_rgb`` can now be set to ``True`` to store RGB images in
the RGB color space instead of converting them to YCbCr. When this option is enabled,
attempting to chroma-subsample RGB images with the ``subsampling`` option will result
in an error.

JPEG restart marker interval
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 95e7d7d

Please sign in to comment.