From 04a28933cf8b4965a852bd0d4a15f709e9bb55d6 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 19 Oct 2021 12:09:18 +0300 Subject: [PATCH] advpng with pngcrush --- img/bin/pngcrush.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.44.0