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

Feature: Optional Pillow/PIL #49

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Feature: Optional Pillow/PIL #49

wants to merge 7 commits into from

Conversation

heuer
Copy link
Contributor

@heuer heuer commented Oct 16, 2016

This improves the PNG renderer iff PIL/Pillow is available. Uses PyPNG as fallback

@heuer
Copy link
Contributor Author

heuer commented Oct 16, 2016

Note: Reduces the PNG rendering significately (abt. 70ms). It does not depend on PIL/Pillow but uses it iff available. Further optimazions (file size) would be possible if the image mode would be choosen more carefully...

@heuer
Copy link
Contributor Author

heuer commented Oct 16, 2016

TODO: Add tests with Pillow/PIL available vs. not available (current tests pick PIL/Pillow if available, otherwise PyPNG)

@heuer
Copy link
Contributor Author

heuer commented Oct 17, 2016

Note that test_png.test_png_as_base64_str fails with PIL/Pillow, all other tests pass.

@heuer heuer mentioned this pull request Jun 2, 2018
4 tasks
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