tinypng是一款非常优秀的png图片压缩工具,但是免费的key只能压缩500张图片,收费项目也有点贵.

幸好google找到一款同样功能,但是完全免费的工具pngquant.

pngquant介绍

pngquant is a command-line utility and a library for lossy compression of PNG images.

The conversion reduces file sizes significantly (often as much as 70%) and preserves full alpha transparency. Generated images are compatible with all modern web browsers, and have better fallback in IE6 than 24-bit PNGs.

项目地址

官网地址

GUI QT开发的,支持windows和mac os

源码 git clone git://github.com/pornel/pngquant.git

实例

待续