# 使用 Homebrew, MacPorts, Nix 安装 epeg

查看 epeg 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:epeg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install epeg
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install epeg
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#epeg
```

  证据: nixpkgs package indexes: pkgs/by-name/ep/epeg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:epeg
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/epeg>
- **版本:** 0.9.3
- **来源摘要:** JPEG/JPG thumbnail scaling
- **主页:** <https://github.com/mattes/epeg>
- **仓库:** <https://github.com/mattes/epeg>
- **许可证:** MIT-enna
- **源码归档:** <https://github.com/mattes/epeg/archive/refs/tags/v0.9.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- epeg (cli)
- epeg (别名)

## 依赖

- jpeg-turbo
- libexif

## 构建依赖

- autoconf
- automake
- libtool

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.3
- 本地数据: OK
- 上游仓库: https://github.com/mattes/epeg
- 检测到的最新版本: v0.9.3 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

epeg is a JPEG thumbnailing library and command-line package focused on fast downscaling. Its README describes the core idea as using libjpeg's ability to decode only the DCT coefficients needed for the requested output size, reducing CPU work when large JPEGs are turned into small thumbnails.

### 项目历史

The epeg README says the library was originally developed inside the Enlightenment project. The repository maintainer notes that at some later, unspecified point epeg disappeared from that project or was merged into another library, with v0.9.1.042 named as the last original version known to that maintainer.

The current GitHub repository preserves that original code lineage while carrying updates and improvements on the master branch. The copyright notice dates the software to 2000 and credits Carsten Haitzler and contributors.

### 采用历史

epeg stayed a niche but memorable package because it solved one job well: quickly making thumbnails from JPEGs. It accumulated language bindings for Python and Node.js and enough downstream interest to remain packaged in Homebrew, MacPorts, and Nix.

### 使用方式

Users and bindings rely on epeg when the source image is much larger than the desired thumbnail. The performance advantage comes from avoiding full-resolution decode work and, in some cases, avoiding colorspace conversion when YUV or grayscale access is sufficient.

### 为什么软件包爱好者会关心

epeg is the sort of package that appeals to people who like small, purpose-built C libraries: it wraps a particular libjpeg optimization in a compact API and command-line install, and it carries a visible lineage from desktop-environment infrastructure into modern package managers.

### 时间线

- 2000: Copyright notice credits Carsten Haitzler and contributors.
- Unknown: epeg developed within the Enlightenment project.
- Unknown: epeg disappeared from or was merged into another Enlightenment library after the original line.
- 2023-04-05: GitHub release epeg v0.9.3 published.

### Related projects

- epeg relates to libjpeg, the Enlightenment project, Python bindings through epeg-cffi, and Node.js bindings distributed as an npm package.

### 来源

- <https://github.com/mattes/epeg>
- <https://raw.githubusercontent.com/mattes/epeg/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** epeg
- **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:** head, stable

## 其他软件包管理器记录

- Nix - epeg: normalized package name match | nixpkgs package indexes: pkgs/by-name/ep/epeg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - epeg: normalized package name match | MacPorts ports tree: graphics/epeg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [gd](https://pkg.so/zh-hans/brew/gd/) - Shares pkgdb curated category or tags: cli, image-processing, jpeg, media.
- [dezoomify-rs](https://pkg.so/zh-hans/brew/dezoomify-rs/) - Shares pkgdb curated category or tags: cli, images, media.
- [exiftran](https://pkg.so/zh-hans/brew/exiftran/) - Shares pkgdb curated category or tags: cli, image-processing, jpeg, media.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [giflib](https://pkg.so/zh-hans/brew/giflib/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [leptonica](https://pkg.so/zh-hans/brew/leptonica/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [jp2a](https://pkg.so/zh-hans/brew/jp2a/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, images, jpeg.
- [ffmpegthumbnailer](https://pkg.so/zh-hans/brew/ffmpegthumbnailer/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, jpeg, jpeg-turbo, media.
- [vips](https://pkg.so/zh-hans/brew/vips/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, jpeg, libexif.

## Combined YAML source

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


## 来源

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