forked from cadey/xesite
imgoptimize: quote paths
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
7e6090274a
commit
8f187e325c
|
@ -3,6 +3,6 @@
|
|||
|
||||
filename="${1%.*}"
|
||||
|
||||
cwebp ${filename}.png -q 75 -o ${filename}.webp
|
||||
avifenc ${filename}.png -o ${filename}.avif -s 0 -d 8 --min 48 --max 48 --minalpha 48 --maxalpha 48
|
||||
pngcrush ${filename}.png
|
||||
cwebp "${filename}".png -q 75 -o "${filename}".webp
|
||||
avifenc "${filename}".png -o "${filename}".avif -s 0 -d 8 --min 48 --max 48 --minalpha 48 --maxalpha 48
|
||||
pngcrush "${filename}".png
|
||||
|
|
Loading…
Reference in New Issue