FIX image optimization script

This commit is contained in:
Hoernschen 2024-01-11 21:08:31 +01:00
parent 0eb768b78a
commit d409a6ba1e
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -15,6 +15,6 @@ shopt -s globstar
# Web Optimized Formats
for FILE in static/**/*.@(jpg|jpeg|tif|tiff|png); do
magick $PARAMS "$FILE" "${FILE}".webp;
magick $PARAMS "$FILE" "${FILE}".avif;
convert $PARAMS "$FILE" "${FILE}".webp;
convert $PARAMS "$FILE" "${FILE}".avif;
done