]> Sergey Matveev's repositories - dotfiles.git/blobdiff - img/bin/pngcrush.sh
advpng with pngcrush
[dotfiles.git] / img / bin / pngcrush.sh
index cc73d9b6aeb3b54f412925a4acb3cd59c2d3f7d9..06da4664e3a2b9f02d8a6821e53a5db7edb2cf1c 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh -ex
 
 t=$(TMPDIR=. mktemp)
-pngcrush -rem alla -rem allb "$1" $t
+pngcrush -rem alla -rem allb -z 2 "$1" $t
+advpng -z -4 $t
 mv $t "$1"