1
0
mirror of https://github.com/coalaura/ffwebp.git synced 2025-09-07 21:45:31 +00:00
2025-08-11 03:58:41 +02:00
2025-08-11 03:39:01 +02:00
2025-08-11 03:38:30 +02:00
2025-08-11 03:58:41 +02:00
2025-08-11 03:58:41 +02:00
2025-08-11 02:36:35 +02:00
pnm
2025-08-11 03:56:07 +02:00
pnm
2025-08-11 03:56:07 +02:00
2025-01-23 00:06:35 +01:00
2025-06-19 17:28:33 +02:00
2025-06-21 19:48:54 +02:00
2025-06-19 17:28:33 +02:00
pnm
2025-08-11 03:56:07 +02:00
2025-06-19 17:42:48 +02:00
2025-08-11 02:36:35 +02:00

FFWebP

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 AVIF, BMP, GIF, ICO, JPEG, JPEGXL, PNG, PNM (PBM/PGM/PPM/PAM), 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:

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

ffwebp -i input.jpg -o output.webp

Run ffwebp --help to see the full list of flags.

License

See the LICENSE file.

Description
Convert any image format into any other image format.
Readme MPL-2.0 16 MiB
Languages
C 86.5%
Go 13.3%
Shell 0.2%