# 使用 Homebrew 安装 pdf2image

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

## 安装

```sh
sudo av install brew:pdf2image
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pdf2image
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:pdf2image
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pdf2image>
- **版本:** 0.53
- **来源摘要:** Convert PDFs to images
- **主页:** <https://code.google.com/p/pdf2image/>
- **上游文档:** <https://code.google.com/p/pdf2image/>
- **许可证:** FSFUL
- **源码归档:** <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pdf2image/pdf2image-0.53-source.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pdf2image (cli)
- pdf2image (别名)

## 依赖

- freetype
- ghostscript

## 构建依赖

- libx11

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.53
- 本地数据: OK
- 上游仓库: https://code.google.com/p/pdf2image/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

PDF2Image is a command-line and library-style PDF conversion project for rendering PDF pages to image formats and exporting text data. The archived Google Code metadata describes it as based on XPDF 3.02 and requiring Ghostscript and FreeType.

### 项目历史

The original project was hosted on Google Code as pdf2image with Subversion source hosting. Google Code archive metadata records the project as having source, a GPL-2 license, and a later move to the FlexPaper GitHub repository.

The 0.53 source and Windows executable were published in January 2012 according to the official Google Code archive downloads metadata. That 0.53 line is the same major historical release packaged by Homebrew for the command-line formula.

### 采用历史

PDF2Image was tied to FlexPaper and FlowPaper-style document viewing workflows, where pre-rendering PDF pages to images or extracting text metadata was useful for web display pipelines. In package-manager culture it remains a small compatibility package for users who need this older Ghostscript/XPDF-based converter rather than the unrelated modern Python package with the same name.

### 使用方式

The archived official description documents a pdf2image command accepting a PDF input and optional XML output, with flags for first and last page, JSON output, compression, zoom, image device, encoding, owner password, and user password.

Package users should treat this as the historical C/C++ PDF2Image tool, not the Python pdf2image wrapper around Poppler. Its runtime expectations center on Ghostscript and FreeType.

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

The package is a naming trap: Homebrew's pdf2image formula tracks the old Google Code/FlexPaper tool, while most contemporary search results point to the Python project. Correct curation prevents users and automated tooling from mixing two unrelated packages with different languages, dependencies, licenses, and CLIs.

### 时间线

- 2011: PDF2Image 0.49 Windows and source downloads were published in the Google Code archive.
- 2012: PDF2Image 0.53 source and Windows executable downloads were published.
- 2015: Google Code archive metadata recorded the project as moved to https://github.com/flexpaper/pdf2image.

### Related projects

- The official archive says PDF2Image is based on XPDF and requires Ghostscript and FreeType. The GitHub repository identifies FlowPaper as the current maintainer/sponsor.

### 来源

- <https://code.google.com/archive/p/pdf2image/>
- <https://github.com/flexpaper/pdf2image>
- <https://storage.googleapis.com/google-code-archive/v2/code.google.com/pdf2image/downloads-page-1.json>
- <https://storage.googleapis.com/google-code-archive/v2/code.google.com/pdf2image/project.json>


## 安全说明

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

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

## 源数据库详情

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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [ghostscript](https://pkg.so/zh-hans/brew/ghostscript/) - Runtime dependency declared by Homebrew.
- [pdf2svg](https://pkg.so/zh-hans/brew/pdf2svg/) - Shares pkgdb curated category or tags: cli, conversion, media, pdf, pdf-tools.
- [pdf2json](https://pkg.so/zh-hans/brew/pdf2json/) - Shares pkgdb curated category or tags: cli, conversion, media, pdf, pdf-tools.
- [djvu2pdf](https://pkg.so/zh-hans/brew/djvu2pdf/) - Shares pkgdb curated category or tags: cli, conversion, ghostscript, media, pdf.
- [qpdf](https://pkg.so/zh-hans/brew/qpdf/) - Shares pkgdb curated category or tags: cli, media, pdf, pdf-tools.
- [pdfly](https://pkg.so/zh-hans/brew/pdfly/) - Shares pkgdb curated category or tags: cli, media, pdf, pdf-tools.
- [pdfgrep](https://pkg.so/zh-hans/brew/pdfgrep/) - Shares pkgdb curated category or tags: cli, media, pdf, pdf-tools.
- [pdfcpu](https://pkg.so/zh-hans/brew/pdfcpu/) - Shares pkgdb curated category or tags: cli, media, pdf, pdf-tools.
- [pdf-diff](https://pkg.so/zh-hans/brew/pdf-diff/) - Shares pkgdb curated category or tags: cli, media, pdf, pdf-tools.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, freetype, image.
- [img2pdf](https://pkg.so/zh-hans/brew/img2pdf/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, image, image-conversion.

## Combined YAML source

View the package source record on GitHub. [combined/pdf2image.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pdf2image.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
