# webp を Homebrew, chocolatey, apt, MacPorts でインストール

webp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install webp
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install webp
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:webp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.6.0
- **ソース概要:** Image format providing lossless and lossy compression for web images
- **ホームページ:** <https://developers.google.com/speed/webp/>
- **最終更新:** 2026-07-06T07:17:41+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cwebp (エイリアス)
- dwebp (エイリアス)
- gif2webp (エイリアス)
- img2webp (エイリアス)
- webpinfo (エイリアス)
- webpmux (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.6.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

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


## ソース

- 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
