Losslessly compressing images on django

后端 未结 3 1740
执笔经年
执笔经年 2021-01-31 04:46

I\'m doing optimization and Google recommends Lossless compression to images, looking for a way to implement this in Django.

Here\'s the images they specified, I think f

3条回答
  •  北海茫月
    2021-01-31 05:12

    You should try Django Easy Thumbnails app, it has some options to add a postprocessing to optimize uploaded images : PostProcessor documentation

    I use it in production on several projects. It works well, image size is definitely smaller and page loading much more faster.

提交回复
热议问题