deleted script that is not there

master
mckaygerhard 2024-03-31 17:03:41 -04:00
parent 46cf68008b
commit 2427384422
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
#!/bin/sh
set -eu
FIXED=0
for f in ./*.png; do
WARN="$(pngcrush -n -warn "$f" 2>&1)"
printf %s\\n "file = $f" "warn = $WARN"
case "$WARN" in
*'PCS illuminant is not D50'*|*'known incorrect sRGB profile'* )
pngcrush -s -ow -rem allb -reduce "$f"
FIXED=$((FIXED + 1))
;;
esac
pngquant -v -f --ext .png --quality 0-50 --speed 1 "$f"
done
printf %s\\n "$FIXED errors fixed"