Zopfli is a new deflate compatible compressor that was inspired by compression improvements
developed originally for the lossless mode of WebP image compression. Being compatible with
deflate makes Zopfli compatible with zlib and gzip. Most internet browsers support deflate
decompression, and it has a wide range of other applications. This means that Zopflicompatible
decompression is readily widely available.
二个特点:
1. The output produced by Zopfli is 3.7–8.3 % smaller than that of gzip 9.
2. Zopfli is 81 times slower than the fastest measured algorithm gzip 9.
最大的特点是压缩好的数据和zip兼容,也就是说目前标准的zip uncompress算法都能解开,看起来比较适合web服务器的数据存储,降低成本,虽然只有3-8%点的提高,但是数据规模大了,还是很可观的。
下载源码,编译得到zopfli:
Usage: zopfli [OPTION]... FILE |
-c write the result on standard output, instead of disk filename + '.gz' |
-- gzip output to gzip format (default) |
--deflate output to deflate format instead of gzip |
--zlib output to zlib format instead of gzip |
--i5 less compression, but faster |
--i10 less compression, but faster |
--i15 default compression, 15 iterations |
--i25 more compression, but slower |
--i50 more compression, but slower |
--i100 more compression, but slower |
--i250 more compression, but slower |
--i500 more compression, but slower |
--i1000 more compression, but slower |
祝玩得开心。
转载地址:
http://blog.yufeng.info/archives/2561