We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5fab5f commit e2018a6Copy full SHA for e2018a6
1 file changed
docs/releasenotes/10.2.0.rst
@@ -46,6 +46,14 @@ Added DdsImagePlugin enums
46
:py:class:`~PIL.DdsImagePlugin.DXGI_FORMAT` and :py:class:`~PIL.DdsImagePlugin.D3DFMT`
47
enums have been added to :py:class:`PIL.DdsImagePlugin`.
48
49
+JPEG RGB color space
50
+^^^^^^^^^^^^^^^^^^^^
51
+
52
+When saving JPEG files, ``keep_rgb`` can now be set to ``True``. This will store RGB
53
+images in the RGB color space instead of being converted to YCbCr automatically by
54
+libjpeg. When this option is enabled, attempting to chroma-subsample RGB images with
55
+the ``subsampling`` option will raise an :py:exc:`OSError`.
56
57
JPEG restart marker interval
58
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59
0 commit comments