ffwebp

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: MPL-2.0

README

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 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:

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.

Directories

Path Synopsis
cmd
ffwebp command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL