codingjoe / django-pictures

Responsive cross-browser image library using modern codes like AVIF & WebP
BSD 2-Clause "Simplified" License
248 stars 20 forks source link

PNGs (probably ones with alpha-channel) are not processed properly #106

Closed amureki closed 1 year ago

amureki commented 1 year ago

That is probably a PIL (Pillow) issue.

Would be nice to not just fail, but raise a warning/error and/or handle this case by dropping the alpha channel.