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

Pixmap.pil() method #3821

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Pixmap.pil() method #3821

wants to merge 1 commit into from

Conversation

vadim0x60
Copy link

Pixmap.pil_save() and Pixmap.pil_tobytes() methods convert a Pixmap to a PIL.Image object internally, but don't expose this object to the user of the library. Having access to the Pillow object directly is very useful to apply your own image processing to the pixmap or interface with another library that requires Pillow objects as input. I added a method, Pixmap.pil() to do exactly that, simply convert a Pixmap to a PIL.Image

Copy link
Contributor

github-actions bot commented Aug 29, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@vadim0x60
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@vadim0x60
Copy link
Author

recheck

github-actions bot added a commit that referenced this pull request Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant