diff options
author | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-09-18 09:32:04 +0200 |
---|---|---|
committer | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-09-18 09:32:04 +0200 |
commit | 625e628262ea31b8ce705745ae2d4e998508812e (patch) | |
tree | 73b2548c1b4a9a91220de422577b8c401faf6965 /.zsh_functions | |
parent | db4053626e7a6b01dda64ab65d157872f56c0b51 (diff) |
Add 'optipng' to henkspngpostproc function
Diffstat (limited to '.zsh_functions')
-rw-r--r-- | .zsh_functions | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |