-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support saving CMYK JP2 images #8592
Conversation
e035ac2
to
522505b
Compare
There was a problem hiding this comment.
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.
docs/handbook/image-file-formats.rst
Outdated
``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). |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Resolves #8062
Allows CMYK JP2 images to be saved. This functionality requires uclouvain/openjpeg#1529 from OpenJPEG 2.5.3.