Optipng

发现一个好东东 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)