Compressing images before saving to database

12 views
Skip to first unread message

Isaac Tetteh

unread,
Sep 16, 2016, 7:11:03 AM9/16/16
to Django users
hello,

I have a project where users upload photos of any type. But i want to compress the images before saving them. Is pillow the best i can use or Is there a built in or 3rd party library to do this. Its link to documentation will be appreciated too. 

Thanks!

Javier Guerra Giraldez

unread,
Sep 16, 2016, 7:22:57 AM9/16/16
to django...@googlegroups.com
I've used Wand (a binding to imagemagick library) on a background
task, since I had to handle HUGE images

--
Javier
Reply all
Reply to author
Forward
0 new messages