# Install epeg with Homebrew, MacPorts, Nix

JPEG/JPG thumbnail scaling. Version 0.9.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install epeg
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install epeg
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:epeg
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/epeg>
- **Version:** 0.9.3
- **Source summary:** JPEG/JPG thumbnail scaling
- **Homepage:** <https://github.com/mattes/epeg>
- **Repository:** <https://github.com/mattes/epeg>
- **Upstream docs:** <https://github.com/mattes/epeg#readme>
- **License:** MIT-enna
- **Source archive:** <https://github.com/mattes/epeg/archive/refs/tags/v0.9.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- epeg (cli)
- epeg (alias)

## Dependencies

- jpeg-turbo
- libexif

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.9.3
- Local data: ok
- Upstream repository: https://github.com/mattes/epeg
- Upstream latest detected: v0.9.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [dezoomify-rs](https://www.automicvault.com/pkg/brew/dezoomify-rs/) - Shares av.db curated category or tags: cli, images, media.
- [exiftran](https://www.automicvault.com/pkg/brew/exiftran/) - Shares av.db curated category or tags: cli, image-processing, jpeg, media.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: cli, image-processing, jpeg, media.
- [imgdiet](https://www.automicvault.com/pkg/brew/imgdiet/) - Shares av.db curated category or tags: cli, images, media.
- [imgp](https://www.automicvault.com/pkg/brew/imgp/) - Shares av.db curated category or tags: cli, images, media.
- [imgproxy](https://www.automicvault.com/pkg/brew/imgproxy/) - Shares av.db curated category or tags: cli, images, media.
- [babl](https://www.automicvault.com/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [jp2a](https://www.automicvault.com/pkg/brew/jp2a/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, images, jpeg.
- [ffmpegthumbnailer](https://www.automicvault.com/pkg/brew/ffmpegthumbnailer/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, jpeg, jpeg-turbo, media.
- [jbig2enc](https://www.automicvault.com/pkg/brew/jbig2enc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, jpeg, jpeg-turbo.

## Combined YAML source

View the package source record on GitHub. [combined/epeg.yml](https://github.com/automic-vault/db/blob/main/combined/epeg.yml)


## Sources

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