LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

img2webp

create animated WebP files from a sequence of input images

TLDR

Create animated WebP from image sequence
$ img2webp [frame1.png] [frame2.png] [frame3.png] -o [animation.webp]
copy

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

INSTALL

sudo apt install webp
copy
sudo dnf install libwebp-tools
copy
sudo apk add libwebp-tools
copy
sudo zypper install libwebp-tools
copy
brew install webp
copy

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.

SEE ALSO

cwebp(1), dwebp(1), gif2webp(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid