Support saving CMYK JP2 images by radarhere · Pull Request #8592 · python-pillow/Pillow

@radarhere

@radarhere

hugovk

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this needs a docs update?

And let's add this to the release notes.

@radarhere

@radarhere

hugovk

Comment on lines +576 to +580

``RGBA``, and ``YCbCr`` images with subsampled components. Pillow 10.4.0 and
later can read ``CMYK`` images with OpenJPEG 2.5.1 and later, and Pillow 11.1.0
and later can write ``CMYK`` images with OpenJPEG 2.5.3 and later. Pillow
supports JPEG 2000 raw codestreams (``.j2k`` files), as well as boxed JPEG 2000
files (``.jp2`` or ``.jpx`` files).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we use the .. versionadded:: 10.4.0 etc. things?

@radarhere

@radarhere

hugovk

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

eyedav pushed a commit to eyedav/Pillow that referenced this pull request

Jul 19, 2025

@radarhere @eyedav