/gwebp

gwebp can recursively convert images in the specified directory into webp of the same name.

Primary LanguageGoMIT LicenseMIT

gwebp

build codecov go report

English | 简体中文

gwebp can recursively convert images in the specified directory into webp of the same name.

Installation

Need to install webp first, such as: brew install webp, then:

go install github.com/linehk/gwebp

Usages

gwebp -r='.' -e='jpg' -a='-q 50 -lossless' -k=true
gwebp -r='.' -e='png' -a='-sns 70 -f 50 -size 60000' -k=false

Contributing

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.

License

MIT License