The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

imgoptimize: quote paths

Signed-off-by: Xe Iaso <me@christine.website>

Xe Iaso 8f187e32 7e609027

+3 -3
+3 -3
scripts/imgoptimize
··· 3 3 4 4 filename="${1%.*}" 5 5 6 - cwebp ${filename}.png -q 75 -o ${filename}.webp 7 - avifenc ${filename}.png -o ${filename}.avif -s 0 -d 8 --min 48 --max 48 --minalpha 48 --maxalpha 48 8 - pngcrush ${filename}.png 6 + cwebp "${filename}".png -q 75 -o "${filename}".webp 7 + avifenc "${filename}".png -o "${filename}".avif -s 0 -d 8 --min 48 --max 48 --minalpha 48 --maxalpha 48 8 + pngcrush "${filename}".png