Automic VaultAutomic Vault

brew

Install webp with Homebrew, chocolatey, apt, MacPorts

Image format providing lossless and lossy compression for web images. Version 1.6.0 via Homebrew; verified 2026-07-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install webp

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install webp

MacPorts ports tree · graphics/webp/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install webp

Debian stable package indexes · webp · source: deb.debian.org

overview

Package summary

Image format providing lossless and lossy compression for web images

Commands and aliases

  • cwebp
  • dwebp
  • gif2webp
  • img2webp
  • webpinfo
  • webpmux

history

Project history and usage

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`.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2010-09-30: Google announced WebP as a new image format for the web.
  • 2010: The initial design was based on VP8 intra-frame coding and a lightweight RIFF container.
  • 2011-11-18: Google announced WebP lossless compression and alpha transparency support.
  • 2012: libwebp 0.2-era tooling made lossless and transparency modes available in the reference implementation.
  • 2025-08-07: Google's getting-started documentation still described libwebp command-line tools and API usage.

Related projects

  • WebP is related to WebM and VP8 through its compression lineage, to libwebp as the reference implementation, and to competing or complementary image formats such as JPEG, PNG, GIF, APNG, AVIF, and JPEG XL.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:compress,image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cwebpcliglobal executable
dwebpcliglobal executable
gif2webpcliglobal executable
img2webpcliglobal executable
webpinfocliglobal executable
webpmuxcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.6.0
manager updated2026-07-06
local dataok
upstreamnot checked
latest detectednot detected

https://developers.google.com/speed/webp/

install metadata

Package metadata

Package keybrew:webp
Version1.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/webp
Homepagehttps://developers.google.com/speed/webp/
Repositoryhttps://chromium.googlesource.com/webm/libwebp
Upstream docshttps://developers.google.com/speed/webp/docs
LicenseBSD-3-Clause
Source archivehttps://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz
Last updated2026-07-06T07:17:41+02:00
Pulseupdated
Dependenciesgiflib, jpeg-turbo, libpng
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewebp
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

webp 1.5.0-0.1

Lossy compression of digital photographic images (utilities)

https://developers.google.com/speed/webp/

sudo apt install webp
  • Section: graphics
  • Architecture: amd64
  • Source Package: libwebp
  • 11 dependencies
  • normalized package name match
  • Matched by: Webp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: webp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

webp 1.3.2-0.4build3

Lossy compression of digital photographic images

https://developers.google.com/speed/webp/

sudo apt install webp
  • Section: universe/graphics
  • Architecture: amd64
  • Source Package: libwebp
  • 12 dependencies
  • normalized package name match
  • Matched by: Webp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: webp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

webp

sudo port install webp
  • normalized package name match
  • Matched by: Webp
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/webp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

webp

choco install webp
  • normalized package name match
  • Matched by: Webp
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: webp from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.5836','capture'

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment