Compress images in django

Gajesh on July 17, 2019

Storage is one of the essential pieces of web app development and needs to be paid special attention as it attracts server costs. If you have to pa... [Read Full]
markdown guide

Great Article, but when you encounter this error - cannot write mode RGBA as JPEG add this :-

imageTemproary = imageTemproary.convert('RGB')

Refrence to this issue : github.com/python-pillow/Pillow/is...


thanks a lot for this <3 You've saved my project :)


Your welcome. Happy to know it was helpful.

code of conduct - report abuse