SRCF / lightbluetent

BigBlueButton frontend (originally dubbed project LightBlueTent) for the SRCF's Timeout videoconf
https://timeout.srcf.net
MIT License
5 stars 6 forks source link

Check that pillow likes the image, rather than that we like its extension #107

Closed sourtin closed 4 years ago

sourtin commented 4 years ago

Resolves #104

We could check mime types using python-magic, but the more direct and pythonic approach is to simple check whether pillow is willing to open the image.