-
Notifications
You must be signed in to change notification settings - Fork 556
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
Pixmap created from CMYK JPEG delivers RGB format #3058
Comments
JorjMcKie
changed the title
Pixmap creation from CMYK JPEG creates RGB format
Pixmap created from CMYK JPEG delivers RGB format
Jan 18, 2024
julian-smith-artifex-com
added a commit
that referenced
this issue
Jan 18, 2024
Constructor `Pixmap(colorspace, pixmap)` previously always incorrectly converted via a greyscale proofing colorspace. Fixed similar bug in `Page.insert_image()` if we process the pixmap. Also fixed creation of `Colorspace` from a `mupdf.FzColorspace` - this would previously always created a RGB `Colorspace`. Address #3058
Thanks for the report and for including the reproducer. I have a fix in review, and will hopefully make a new release with the fix later today. |
julian-smith-artifex-com
added a commit
that referenced
this issue
Jan 18, 2024
Constructor `Pixmap(colorspace, pixmap)` previously always incorrectly converted via a greyscale proofing colorspace. Fixed similar bug in `Page.insert_image()` if we process the pixmap. Also fixed creation of `Colorspace` from a `mupdf.FzColorspace` - this would previously always created a RGB `Colorspace`. Address #3058
Fixed in 1.23.16. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #3057
Originally posted by dothinking January 18, 2024
With upgrading
PyMuPDF
from 1.23.8 to 1.23.15, fitz.Pixmap() doesn't work as expected. Do I miss something, or if it's an upstream issue.sample.pdf
PyMuPdf 1.23.8
PyMuPdf 1.23.15
The text was updated successfully, but these errors were encountered: