# Install epeg with Homebrew, MacPorts, Nix

JPEG/JPG thumbnail scaling. Version 0.9.3 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#epeg.

## 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
- **Version:** 0.9.3
- **Source summary:** JPEG/JPG thumbnail scaling
- **Homepage:** <https://github.com/mattes/epeg>
- **Repository:** <https://github.com/mattes/epeg>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- epeg (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.9.3
## 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

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


## Combined YAML source

View the package source record on GitHub. [combined/epeg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/epeg.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
