imagemagick resizing and quality PNG

前端 未结 4 614
庸人自扰
庸人自扰 2021-02-02 11:29

In my application I need to resize and make the quality on PNG files poorer.

In full size the PNGs are 3100x4400px using 2,20MB disk space.

When running the fo

4条回答
  •  不知归路
    2021-02-02 11:51

    After using imagemagick to resize, you can compress the image using pngquant.

    On mac (with homebrew) brew install pngquant then:

    pngquant 
    

    This will create a new image filename-fs8.png that is normally much smaller in size.

提交回复
热议问题