发现一个好东东 Optipng 据说可以在不损失信息的情况下压缩PNG格式的图片 用网站里的图片试了试 10 MB的PNG图片被压缩了1 MB多 相当于百分之十几的压缩率 我觉得挺好的 压缩的输出类似下面的样子:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| $ optipng.exe My-GnuTLS-patch.png ** Processing: My-GnuTLS-patch.png 841x801 pixels, 3x8 bits/pixel, RGB Input IDAT size = 979692 bytes Input file size = 979967 bytes
Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 915157 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 882537 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 882537
Output IDAT size = 882537 bytes (97155 bytes decrease) Output file size = 882644 bytes (97323 bytes = 9.93% decrease)
|
本文标题:Optipng
文章作者:Chris
发布时间:2016-04-14
最后更新:2022-03-23
原始链接:https://chriszheng.science/2016/04/14/Optipng/
版权声明:本博客所有文章除特别声明外,均采用 CC BY 4.0 许可协议。转载请注明出处!