# 使用 Homebrew, MacPorts 安装 exact-image

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

## 安装

```sh
sudo av install brew:exact-image
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install exact-image
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install exact-image
```

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

## 软件包事实

- **软件包键:** brew:exact-image
- **软件包管理器:** Homebrew
- **版本:** 1.2.1
- **来源摘要:** Image processing library
- **主页:** <https://exactcode.com/opensource/exactimage/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bardecode (别名)
- econvert (别名)
- edentify (别名)
- empty-page (别名)
- hocr2pdf (别名)
- optimize2bw (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ExactImage is a C++ image-processing library and CLI suite from ExactCODE, created as a faster, more generic alternative to ImageMagick for selected production image workflows.

### 项目历史

The official page says ExactCODE began the project in the mid-2000s after finding ImageMagick too CPU-heavy for certain tasks. A C++ prototype reportedly cut processing time to roughly one twentieth of the ImageMagick baseline for the needed workloads.

ExactImage developed through numbered release series. Version 0.2 added a stable SWIG-exported API; 0.3 added per-codec accelerated rotation, flipping, scaling, color conversion, and on-demand decoding; 0.5 added open-source barcode recognition and faster pixel iteration; 0.6 rewrote the PDF codec and introduced hocr2pdf for searchable PDFs.

### 采用历史

The project page explicitly mentions deployment in production solutions by partner companies and lists distribution packaging for T2 SDE, FreeBSD ports, Debian, and Ubuntu.

Its adoption story is strongest in scanner, OCR, barcode, and document-processing pipelines rather than desktop image editing.

### 使用方式

The econvert command is the ImageMagick convert-like frontend for reading images, applying operations, and writing outputs. The page documents pipelines such as scaling, rotating JPEGs losslessly, changing color spaces, and producing thumbnails.

Other included tools include edentify for image identification, hocr2pdf for searchable PDF generation from hOCR input, bardecode for barcode recognition, and edisplay for image viewing.

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

ExactImage is interesting because it bundles several specialized document-image tools around a performance-oriented C++ library: conversion, identification, barcode recognition, and OCR-to-PDF assembly.

It also represents an older open-source style: project homepage documentation, SVN trunk, release snapshots, and distro packages instead of a GitHub-centered workflow.

### 时间线

- Mid-2000s: ExactCODE started the C++ prototype after reviewing ImageMagick performance.
- 0.2 series: Stable external SWIG API introduced.
- 0.3 series: Accelerated JPEG-oriented operations and on-demand decoding added.
- 0.5 series: Barcode recognition and faster pixel iteration added.
- 0.6 series: PDF codec rewritten and hocr2pdf introduced.
- 0.8 series: Multiple images per file supported in TIFF and econvert.

### Related projects

- The project page positions ExactImage as a possible alternative to ImageMagick for selected image-processing tasks.
- It embeds dcraw code for camera RAW support and compares fast JPEG scaling with EPEG.

### 来源

- <https://exactcode.com/opensource/exactimage>
- <http://svn.exactcode.de/exact-image/trunk>
- <http://dl.exactcode.de/oss/exact-image/>


## 安全说明

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

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

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

- MacPorts - exact-image: normalized package name match | MacPorts ports tree: graphics/exact-image/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/exact-image.yml](https://github.com/mxcl/pkgdb/blob/main/combined/exact-image.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
