1
0
mirror of https://github.com/coalaura/ffwebp.git synced 2025-07-17 22:04:35 +00:00
This commit is contained in:
Laura
2025-06-19 17:54:35 +02:00
parent 9321134e9d
commit 4bd4af82b7

View File

@ -1,6 +1,33 @@
# ffwebp
# FFWebP
*todo*
FFWebP is a command line utility for converting images between multiple formats. It automatically detects the input format and encodes the output using
## Features
- Pure Go implementation with no external runtime dependencies
- Supports BMP, GIF, JPEG, PNG, TIFF and WebP
- Lossy or lossless output with configurable quality
- Output codec selected from the output file extension when `--codec` is omitted
- Full set of format-specific flags for every supported format (see `ffwebp --help`)
- Additional formats may be added in the future
## Building
Compile with all codecs enabled using the `full` build tag:
```bash
go build -tags full -o ffwebp ./cmd/ffwebp
```
You can enable a subset of codecs by selecting the appropriate build tags (for example `-tags "jpeg,png"`).
## Usage
```bash
ffwebp -i input.jpg -o output.webp
```
Run `ffwebp --help` to see the full list of flags.
## License