July 2017

压缩jpg与png图片文件 imageapi_optimize jpegtran optipng

http://www.ijg.org/files/

下载 jpegsrN.tar.gz

tar xfz jpegsrN.tar.gz

cd jpegsr-N

make

make install

which jpegtran
得到bin完整路径: /usr/local/bin/jpegtran


https://sourceforge.net/projects/optipng/
下载 optipng.0.7.6.tar.gz

tar optipng-0.7.6.tar.gz

cd optipng-0.7.6
make
make install

which optipng