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

Support Pillow mode "RGBa" #2632

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Support Pillow mode "RGBa" #2632

merged 1 commit into from
Oct 1, 2023

Conversation

JorjMcKie
Copy link
Collaborator

For Pixmap image output via Pillow, also support mode RGBa with the new keyword parameter "unmultiply". The Pillow image will then be created with unmultiplied pixels.

This fix also addresses the closed issue #2593: Pixmaps as a result of page rendering can now be converted to Pillow images with unmultiplied alpha values.

For Pixmap image output via Pillow, also support mode RGBa with the new keyword parameter "unmultiply". The Pillow image will then be created with unmultiplied pixels.
@JorjMcKie
Copy link
Collaborator Author

Note: no dedicated test script necessary here.

@JorjMcKie JorjMcKie merged commit 7ad1a43 into main Oct 1, 2023
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2023
@JorjMcKie JorjMcKie deleted the support-RGBa branch October 1, 2023 17:32
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