FIX image optimization script
This commit is contained in:
parent
0eb768b78a
commit
d409a6ba1e
1 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,6 @@ shopt -s globstar
|
||||||
|
|
||||||
# Web Optimized Formats
|
# Web Optimized Formats
|
||||||
for FILE in static/**/*.@(jpg|jpeg|tif|tiff|png); do
|
for FILE in static/**/*.@(jpg|jpeg|tif|tiff|png); do
|
||||||
magick $PARAMS "$FILE" "${FILE}".webp;
|
convert $PARAMS "$FILE" "${FILE}".webp;
|
||||||
magick $PARAMS "$FILE" "${FILE}".avif;
|
convert $PARAMS "$FILE" "${FILE}".avif;
|
||||||
done
|
done
|
Loading…
Reference in a new issue