Skip to content
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

Fix fitz.Pixmap colorspace conversion. #3060

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Conversation

julian-smith-artifex-com
Copy link
Collaborator

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

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
@julian-smith-artifex-com julian-smith-artifex-com merged commit d183c2f into main Jan 18, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 18, 2024
@julian-smith-artifex-com julian-smith-artifex-com deleted the jules-3058 branch January 18, 2024 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants