mirror of
https://github.com/tiennm99/MTTools.git
synced 2026-10-15 10:15:28 +00:00
docs: flesh out README
This commit is contained in:
1 parent
c09329a0a7
commit
17870aa1e6
1 file changed
+28
-2
@@ -1,2 +1,28 @@
|
|||||||
# webp-worker
|
# webp-converter
|
||||||
Convert webp to other formats
|
|
||||||
|
CLI tool written in Go to convert WebP images to other formats (PNG, JPG, etc.).
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go install github.com/tiennm99/webp-converter@latest
|
||||||
|
webp-converter -input image.webp -output image.png
|
||||||
|
```
|
||||||
|
|
||||||
|
Or build from source:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go build -o webp-converter .
|
||||||
|
./webp-converter -input image.webp -output image.png
|
||||||
|
```
|
||||||
|
|
||||||
|
Docker:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build -t webp-converter .
|
||||||
|
docker run --rm -v $(pwd):/data webp-converter -input /data/image.webp -output /data/image.png
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Apache-2.0 — see [LICENSE](LICENSE).
|
||||||
Reference in new issue
Block a user