# 使用 Homebrew, Nix, pacman 安装 jpeg-archive

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:jpeg-archive
- **软件包管理器:** Homebrew
- **版本:** 2.2.0
- **来源摘要:** Utilities for archiving JPEGs for long term storage
- **主页:** <https://github.com/danielgtaylor/jpeg-archive>
- **仓库:** <https://github.com/danielgtaylor/jpeg-archive>
- **最后更新:** 2026-06-22T14:03:50-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jpeg-archive (别名)
- jpeg-compare (别名)
- jpeg-hash (别名)
- jpeg-recompress (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.2.0
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

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


## Combined YAML source

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