Closed frmdstryr closed 5 years ago
Thanks, I removed the version change, added tests, and added an is_format_supported
method to check for WEBP support.
Looks like imghdr doesn't work for webp on 2.7 and 3.4.
I added code to backport imghdr webp detection for python < 3.5, not sure if it should be moved to a compat module or something but it works for all versions now.
This looks good, thanks!
Thanks for this! Implementation looks good on first glance. Just a few comments: