chore: replace imagemagick with libwebp
This commit is contained in:
parent
ee5dac244f
commit
d285ed9a3b
|
@ -27,7 +27,7 @@
|
||||||
git
|
git
|
||||||
go
|
go
|
||||||
hugo
|
hugo
|
||||||
imagemagick
|
libwebp
|
||||||
nodejs-16_x
|
nodejs-16_x
|
||||||
yarn
|
yarn
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
fd -tf png$ static/uploads -x convert {} -quality 100 -define webp:lossless=true {.}.webp
|
fd -tf png$ static/uploads -x cwebp -lossless -mt {} -o {.}.webp
|
||||||
fd -tf png$ static/uploads -X rm -v
|
fd -tf png$ static/uploads -X rm -v
|
||||||
|
|
Loading…
Reference in New Issue