]> Sergey Matveev's repositories - dotfiles.git/blob - img/bin/transcode-jpg.sh
I prefer -d now instead of -q
[dotfiles.git] / img / bin / transcode-jpg.sh
1 #!/bin/sh -e
2
3 jpegtran -optimize -progressive -perfect -copy all "$1" |
4     cjxl - "${1%.*}.jxl" -d 0 -e 9
5 [ -s "${1%.*}.jxl" ]