Skip to content

Feature: Optional Pillow/PIL#49

Open
heuer wants to merge 7 commits intomnooner256:masterfrom
heuer:feature/optional_pil
Open

Feature: Optional Pillow/PIL#49
heuer wants to merge 7 commits intomnooner256:masterfrom
heuer:feature/optional_pil

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