English | 简体中文
gwebp can recursively convert images in the specified directory into webp of the same name.
Need to install webp first, such as: brew install webp
, then:
go install github.com/linehk/gwebp
gwebp -r='.' -e='jpg' -a='-q 50 -lossless' -k=true
gwebp -r='.' -e='png' -a='-sns 70 -f 50 -size 60000' -k=false
If you feel that there is something to improve my exercise answers, please feel free to launch Pull Request.
For major changes, please open an issue first to discuss what you would like to change.