add flag for lossless webp in convert calls

This commit is contained in:
rhiannon morris 2023-09-06 20:31:37 +02:00
parent 11f5029412
commit 8cb6752168
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ endef
define resize define resize
echo "[resize] "$@ echo "[resize] "$@
mkdir -p "$(dir $@)" mkdir -p "$(dir $@)"
convert -resize "$(1)x$(2)$(3)" $(4) "$^" "$@" convert -resize "$(1)x$(2)$(3)" -define webp:lossless=true $(4) "$^" "$@"
endef endef
# no args # no args