macOS
brew install webplocal Homebrew formula metadata
sudo port install webpMacPorts ports tree · graphics/webp/Portfile · source: api.github.com
brew
Image format providing lossless and lossy compression for web images. Version 1.6.0 via Homebrew; verified 2026-07-06.
install
brew install webplocal Homebrew formula metadata
sudo port install webpMacPorts ports tree · graphics/webp/Portfile · source: api.github.com
sudo apt install webpDebian stable package indexes · webp · source: deb.debian.org
choco install webpChocolatey community package catalog · webp · source: community.chocolatey.org
overview
Image format providing lossless and lossy compression for web images
history
WebP is Google's image format and codec family for smaller web images, supporting lossy compression, lossless compression, transparency, and animation. The Homebrew package exposes the practical side of that format through libwebp command-line tools such as `cwebp`, `dwebp`, `gif2webp`, `img2webp`, `webpinfo`, and `webpmux`.
Google announced WebP on September 30, 2010 as part of its Make the Web Faster work. The launch post argued that images were a large share of web page bytes and introduced WebP as a developer preview for reducing photo file sizes while preserving visual quality.
The original WebP design used still-image coding techniques derived from the VP8 codec that Google had open-sourced earlier in 2010, with a lightweight RIFF-based container. Google's launch test re-encoded about one million web images and reported an average file-size reduction of 39 percent under its comparison method.
On November 18, 2011, Google announced lossless compression and alpha-channel support for WebP. That update broadened WebP from a JPEG-oriented lossy photo format into a candidate for PNG-like graphics, transparent web assets, and GIF-style animations.
WebP adoption was gradual because image formats require browser, tooling, CDN, and authoring support. Google's current WebP documentation describes native support in major browsers including Chrome, Safari, Firefox, Edge, and Opera, plus support in many tools and software libraries.
The format's adoption history is tied to web performance practice: developers and site operators use WebP when reducing image transfer size matters more than preserving older universal compatibility. Its eventual broad browser support made it a common output target in image pipelines, static-site generators, CDNs, and asset optimization tools.
The reference libwebp distribution provides encoder and decoder tools. Google's getting-started guide documents `cwebp` for converting PNG or JPEG images into WebP and `dwebp` for decoding WebP to formats such as PNG or PPM, while the library API lets applications and browsers add WebP support directly.
In day-to-day package use, `cwebp` is the workhorse for lossy and lossless conversion, `dwebp` is used for inspection or compatibility conversion, `gif2webp` and `img2webp` handle animation workflows, and `webpmux`/`webpinfo` serve metadata, container, and debugging tasks.
For package people, WebP is both a format and a toolchain package. Installing it gives scripts and build systems the canonical CLI encoder/decoder tools, which is why it appears in web optimization, media-processing, browser-adjacent, and static-site workflows.
WebP also marks a period when browser vendors and web-performance engineers tried to replace legacy web image defaults with formats designed around network cost. Even after newer formats such as AVIF appeared, WebP remained important because it reached wide browser and tooling support earlier.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cwebp | cli | global executable | |
dwebp | cli | global executable | |
gif2webp | cli | global executable | |
img2webp | cli | global executable | |
webpinfo | cli | global executable | |
webpmux | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://developers.google.com/speed/webp/
install metadata
| Package key | brew:webp |
|---|---|
| Version | 1.6.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/webp |
| Homepage | https://developers.google.com/speed/webp/ |
| Repository | https://chromium.googlesource.com/webm/libwebp |
| Upstream docs | https://developers.google.com/speed/webp/docs |
| License | BSD-3-Clause |
| Source archive | https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz |
| Last updated | 2026-07-06T07:17:41+02:00 |
| Pulse | updated |
| Dependencies | giflib, jpeg-turbo, libpng |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | webp |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
webp 1.5.0-0.1
Lossy compression of digital photographic images (utilities)
https://developers.google.com/speed/webp/
sudo apt install webpwebp 1.3.2-0.4build3
Lossy compression of digital photographic images
https://developers.google.com/speed/webp/
sudo apt install webpwebp
sudo port install webpwebp
choco install webpsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.