add flag for lossless webp in convert calls
This commit is contained in:
parent
11f5029412
commit
8cb6752168
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -140,7 +140,7 @@ endef
|
|||
define resize
|
||||
echo "[resize] "$@
|
||||
mkdir -p "$(dir $@)"
|
||||
convert -resize "$(1)x$(2)$(3)" $(4) "$^" "$@"
|
||||
convert -resize "$(1)x$(2)$(3)" -define webp:lossless=true $(4) "$^" "$@"
|
||||
endef
|
||||
|
||||
# no args
|
||||
|
|
Loading…
Reference in a new issue