# Installer webp avec Homebrew, chocolatey, apt, MacPorts

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de webp pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:webp
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install webp
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install webp
```

  Preuve: MacPorts ports tree: graphics/webp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install webp
```

  Preuve: Debian stable package indexes: webp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Chocolatey (92%):

```sh
choco install webp
```

  Preuve: Chocolatey community package catalog: webp from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.7743998','highlight'

## Faits du paquet

- **Clé du paquet:** brew:webp
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.6.0
- **Résumé source:** Image format providing lossless and lossy compression for web images
- **Page d'accueil:** <https://developers.google.com/speed/webp/>
- **Dernière mise à jour:** 2026-07-06T07:17:41+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cwebp (alias)
- dwebp (alias)
- gif2webp (alias)
- img2webp (alias)
- webpinfo (alias)
- webpmux (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.6.0
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://chromium.googlesource.com/webm/libwebp>
- <https://developers.google.com/speed/webp>
- <https://developers.google.com/speed/webp/docs/using>
- <https://developers.googleblog.com/en/webp-a-new-image-format-for-the-web/>
- <https://developers.googleblog.com/lossless-and-transparency-encoding-in-webp/>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- Debian apt - webp - 1.5.0-0.1: normalized package name match | Debian stable package indexes: webp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lossy compression of digital photographic images (utilities) | https://developers.google.com/speed/webp/
- Ubuntu apt - webp - 1.3.2-0.4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: webp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lossy compression of digital photographic images | https://developers.google.com/speed/webp/
- MacPorts - webp: normalized package name match | MacPorts ports tree: graphics/webp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - webp: normalized package name match | Chocolatey community package catalog: webp from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.7743998','highlight'


## Combined YAML source

View the package source record on GitHub. [combined/webp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/webp.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
