img2webp

The WebP command line tools

Install

All systems
curl cmd.cat/img2webp.sh
Debian Debian
apt-get install webp
Ubuntu
apt-get install webp
Alpine
apk add libwebp
Arch Arch Linux
pacman -S libwebp
image/svg+xml Kali Linux
apt-get install webp
CentOS
yum install libwebp
Fedora
dnf install libwebp-tools
Windows (WSL2)
sudo apt-get update sudo apt-get install webp
OS X
brew install webp
Raspbian
apt-get install webp
Docker
docker run cmd.cat/img2webp img2webp powered by Commando

libwebp-tools

The WebP command line tools

webp

Lossy compression of digital photographic images.

Image Compression format, based on the VP8 codec. WebP uses the modern VP8 compression format to deliver efficient compression of images for the web. More than 30% extra gain over optimized JPEG, for same quality, is not unusual.

libwebp

WebP is an image format that does lossy compression of digital

photographic images. WebP consists of a codec based on VP8, and a container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently.