From: Sergey Matveev Date: Tue, 19 Oct 2021 09:09:18 +0000 (+0300) Subject: advpng with pngcrush X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=04a28933cf8b4965a852bd0d4a15f709e9bb55d6 advpng with pngcrush --- diff --git a/img/bin/pngcrush.sh b/img/bin/pngcrush.sh index cc73d9b..06da466 100755 --- a/img/bin/pngcrush.sh +++ b/img/bin/pngcrush.sh @@ -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"