futilely argue about free will

This commit is contained in:
osmarks
2026-04-23 15:00:50 +01:00
parent a02a319589
commit 707ede76cd
4 changed files with 102 additions and 2 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
tmp1=$(mktemp /tmp/tmp.XXXXXXXXXX.png)
tmp2=$(mktemp /tmp/tmp.XXXXXXXXXX.png)
tmp3=$(mktemp /tmp/tmp.XXXXXXXXXX.png)
convert "$2" -resize "$1" "$tmp1"
magick "$2" -resize "$1" "$tmp1"
#dither "$file" "$3" -c 12e193
dither "$tmp1" "$tmp2" -c B2D2FF
convert "$tmp2" -transparent black "$tmp3"
magick "$tmp2" -transparent black "$tmp3"
pngquant --force --strip --speed 1 "$tmp3" -o "$3"
rm "$tmp1"
rm "$tmp2"