From: Hendrik Jaeger Date: Wed, 18 Sep 2019 07:32:04 +0000 (+0200) Subject: Add 'optipng' to henkspngpostproc function X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=inline;h=625e628262ea31b8ce705745ae2d4e998508812e;p=user%2Fhenk%2Fvcsh%2Fzsh.git Add 'optipng' to henkspngpostproc function --- diff --git a/.zsh_functions b/.zsh_functions index abc9d22..1e456e6 100644 --- a/.zsh_functions +++ b/.zsh_functions @@ -62,9 +62,10 @@ function henkspngpostproc () { shift for img in $* do - mkdir -p resized/pngnqed + mkdir -p resized/pngnqed/optipnged convert -resize $resize_by% $img resized/$img pngnq -f -d resized/pngnqed -e .png resized/$img + optipng -out resized/pngnqed/optipnged/$img resized/pngnqed/$img done }