chore: replace imagemagick with libwebp

This commit is contained in:
Harsh Shandilya 2022-12-19 10:31:08 +05:30
parent ee5dac244f
commit d285ed9a3b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
git
go
hugo
imagemagick
libwebp
nodejs-16_x
yarn
];

View File

@ -2,5 +2,5 @@
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