summaryrefslogtreecommitdiff
path: root/.zsh_functions
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_functions')
-rw-r--r--.zsh_functions3
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
}