Image compression and conversion to JPG format before uploading the file
I've reimplemented the code I found somewhere on the web within my models file. The earlier version was incapable of converting all formats to JPG while this code converts all formats and compresses all of them successfully. You need to have PILLOW installed for this to work.
- django
- image
- upload
- imagefield
- compression