You are here: Foswiki>HomeInfra Web>Zopfli (07 Sep 2018, AdminUser)Edit Attach

Google "reinvented" the good old gzip... Read more at https://github.com/google/zopfli.

Backwards compatible with gzip/gunzip. Zopfli provides a better compression ratio and simulator or slightly better decompression speed. On the downside, it is very very slow during compression.

Zopfli

Get a copy from git and compile

git clone https://github.com/google/zopfli.git
cd zopfli
make zopfli zopflipng

Zopflipng

Optimize all PNG images down from the current directory.

for i in `find | grep .png$`; do zopflipng -my $i $i; done

-m maximal compression
-y overwrite the destination
Topic revision: r2 - 07 Sep 2018, AdminUser - This page was cached on 06 Oct 2018 - 22:54.

This site is powered by FoswikiCopyright © by Eddy Vervest