mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
Add release note for JPEG keep_rgb option
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
This commit is contained in:
parent
a5fab5fc0b
commit
e2018a6697
|
@ -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``. This will store RGB
|
||||
images in the RGB color space instead of being converted to YCbCr automatically by
|
||||
libjpeg. When this option is enabled, attempting to chroma-subsample RGB images with
|
||||
the ``subsampling`` option will raise an :py:exc:`OSError`.
|
||||
|
||||
JPEG restart marker interval
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user