img2webp
create animated WebP files from a sequence of input images
TLDR
SYNOPSIS
img2webp [options] input -o output
DESCRIPTION
img2webp creates animated WebP files from a sequence of input images. Each input frame can have individual compression settings (lossy or lossless) and duration. For single-image conversion to WebP, use cwebp instead.The tool supports both lossy and lossless compression modes per frame, with configurable animation loop count and frame durations.
PARAMETERS
-o FILE
Output WebP filename-lossy
Use lossy compression-lossless
Use lossless compression (default)-q QUALITY
Quality factor (0-100, default 75)-m METHOD
Compression method (0-6, default 4)-loop COUNT
Loop count for animations (0 = infinite)-d MS
Frame duration in milliseconds for animations
CAVEATS
Part of the libwebp package. Input format support depends on linked libraries. Very old browsers may not support WebP format. Some image editors have limited WebP support.
HISTORY
WebP was developed by Google and announced in 2010 as an open standard for compressed web images. The format is based on the VP8 video codec and offers significant size reductions compared to traditional formats.
