commit d5648197e56d18cda6b8c56c438e1b1a32115ae9
parent fdee145218e87d2aa31ccee7a3d16334aba1d4c2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 24 Feb 2021 17:31:41 +0100
maimpick: remove optipng call
too slow.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/.local/bin/maimpick b/.local/bin/maimpick
@@ -49,9 +49,6 @@ post_process_output()
out="$1"
out_jpeg="${out%.png}.jpg"
format="png"
- if command -v optipng >/dev/null 2>&1; then
- optipng "${out}" >/dev/null
- fi
convert "${out}" "${out_jpeg}"
if [ "$(stat -f "%z" "${out_jpeg}")" -lt "$(stat -f "%z" "${out}")" ]; then
format="jpeg"