# Install jpeg-archive with Homebrew, Nix, pacman

Utilities for archiving JPEGs for long term storage. Version 2.2.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:jpeg-archive
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jpeg-archive
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jpeg-archive
```

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

- pacman (92%):

```sh
sudo pacman -S jpeg-archive
```

  Evidence: Arch Linux sync databases: jpeg-archive from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:jpeg-archive
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jpeg-archive>
- **Version:** 2.2.0
- **Source summary:** Utilities for archiving JPEGs for long term storage
- **Homepage:** <https://github.com/danielgtaylor/jpeg-archive>
- **Repository:** <https://github.com/danielgtaylor/jpeg-archive>
- **Upstream docs:** <https://github.com/danielgtaylor/jpeg-archive#readme>
- **License:** MIT
- **Source archive:** <https://github.com/danielgtaylor/jpeg-archive/archive/refs/tags/v2.2.0.tar.gz>
- **Last updated:** 2026-06-22T14:03:50-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jpeg-archive (cli)
- jpeg-compare (cli)
- jpeg-hash (cli)
- jpeg-recompress (cli)
- jpeg-archive (alias)
- jpeg-compare (alias)
- jpeg-hash (alias)
- jpeg-recompress (alias)

## Dependencies

- mozjpeg

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/danielgtaylor/jpeg-archive
- Upstream latest detected: v2.2.0 (current)
## Project history and usage

JPEG Archive is a set of command-line tools for reducing, comparing, hashing, and batch-processing JPEG photo collections. It grew around a package-nerd-friendly idea: keep the broadly supported JPEG format, but squeeze storage cost by recompressing images to visually similar output.

### Project history

The upstream README frames the project around long-term photo storage and web serving. Its goals are to use common JPEG files, minimize storage space and cost, and identify duplicate or similar photos. The toolset includes jpeg-archive, jpeg-recompress, jpeg-compare, and jpeg-hash.

The 2.0.0 release line changed the underlying JPEG encoder to mozjpeg and defaulted to progressive output. The GitHub release page shows the 2.2.0 release dated 2018-07-15, while the README retains a 2015 copyright notice for Daniel G. Taylor.

### Adoption history

JPEG Archive found its audience among people with large photo folders rather than application developers. Packaging in Homebrew, Nix, and Arch fits that pattern: install a few binaries, combine them with GNU Parallel or Ladon, dcraw, exiftool, and shell scripts, and run them over existing photo trees.

### How it is used

The README shows jpeg-archive as a folder-level wrapper and jpeg-recompress as the core optimizer. jpeg-recompress searches for the smallest JPEG quality that preserves perceived visual quality, optimizes Huffman tables, and can copy EXIF, IPTC, XMP, and color profile metadata by default.

### Why package nerds care

The project is notable because it packaged image-quality metrics into everyday shell tooling. It is not just another cjpeg wrapper: it represents the practical, storage-saving side of perceptual image comparison in a small Unix utility set.

### Timeline

- 2015: Project README copyright line identifies Daniel G. Taylor and the JPEG Archive toolset.
- 2018: 2.0.0 release switched to mozjpeg and progressive encoding by default.
- 2018: 2.2.0 release appeared on July 15.
- 2024: Arch Linux packaging still carried jpeg-archive 2.2.0.

### Related projects

- The README recommends Ladon or GNU Parallel for running the tools over many files.
- jpeg-archive depends on adjacent command-line tools such as dcraw and exiftool for some workflows.
- The project links rflynn/imgmin as an alternative.

### Sources

- <https://formulae.brew.sh/formula/jpeg-archive>
- <https://github.com/danielgtaylor/jpeg-archive>
- <https://github.com/danielgtaylor/jpeg-archive#readme>
- <https://github.com/danielgtaylor/jpeg-archive/releases>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jpeg-archive
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - jpeg-archive: normalized package name match | nixpkgs package indexes: pkgs/by-name/jp/jpeg-archive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - jpeg-archive - 2.2.0-4: normalized package name match | Arch Linux sync databases: jpeg-archive from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utilities for archiving JPEGs for long term storage | https://github.com/danielgtaylor/jpeg-archive/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [epsilon](https://www.automicvault.com/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, image-compression, image-processing, 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.
- [jbig2dec](https://www.automicvault.com/pkg/brew/jbig2dec/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jbig2enc](https://www.automicvault.com/pkg/brew/jbig2enc/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jbigkit](https://www.automicvault.com/pkg/brew/jbigkit/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jp2a](https://www.automicvault.com/pkg/brew/jp2a/) - Shares av.db curated category or tags: cli, image-processing, jpeg, media.
- [minidjvu](https://www.automicvault.com/pkg/brew/minidjvu/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [vips](https://www.automicvault.com/pkg/brew/vips/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, jpeg, media.

## Combined YAML source

View the package source record on GitHub. [combined/jpeg-archive.yml](https://github.com/automic-vault/db/blob/main/combined/jpeg-archive.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
