deleted script that is not there
This commit is contained in:
parent
46cf68008b
commit
2427384422
@ -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"
|
|
Loading…
x
Reference in New Issue
Block a user