# 使用 Homebrew, MacPorts 安装 imagesnap

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

## 安装

```sh
sudo av install brew:imagesnap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install imagesnap
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ImageSnap
```

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

## 软件包事实

- **软件包键:** brew:imagesnap
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/imagesnap>
- **版本:** 0.3.0.2
- **来源摘要:** Tool to capture still images from an iSight or other video source
- **主页:** <https://github.com/rharder/imagesnap>
- **仓库:** <https://github.com/rharder/imagesnap>
- **上游文档:** <https://github.com/rharder/imagesnap#readme>
- **许可证:** LicenseRef-Homebrew-public-domain
- **源码归档:** <https://github.com/rharder/imagesnap/archive/refs/tags/0.3.0.2.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- imagesnap (cli)
- imagesnap (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.3.0.2
- 本地数据: OK
- 上游仓库: https://github.com/rharder/imagesnap
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

ImageSnap is a macOS command-line camera capture utility by Robert Harder. It saves still images from the built-in iSight or other video devices, making webcam snapshots scriptable from the terminal.

### 项目历史

Robert Harder's older iHarder Mac OS X utilities page describes ImageSnap as a successor path after Axel Bauer's `isightcapture`, with the goal of adapting command-line camera capture to Apple's changing architectures. The GitHub README identifies Robert Harder as the original author and documents the tool as public-domain software.

The project lived for years as an Objective-C utility, then gained a Swift rewrite using AVFoundation in the 0.3.0 series. The README notes that the Swift rewrite modernized the media stack but raised the macOS requirement to Ventura-era systems, while older Objective-C versions remain available from tags and releases.

### 采用历史

ImageSnap became a small but recognizable Mac package-manager tool because it does one thing Unix users expect to script: take a camera snapshot without opening a full camera app. The README names Homebrew and MacPorts as common installation paths, and Homebrew analytics show a steady low-thousands yearly install base.

Its package adoption is tied to automation scenarios such as quick webcam captures, simple time-lapse scripts, hardware checks, and headless-ish Mac workflows where AVFoundation access can still be granted through macOS camera permissions.

### 使用方式

The `imagesnap` command captures to `snapshot.jpg` by default, accepts a filename as the final argument, lists cameras with `-l`, selects a device with `-d`, and supports time-lapse captures with `-t` and `-n`. It can write common formats such as JPEG, TIFF, PNG, GIF, and BMP based on the output filename extension.

The README documents a warmup delay, because real cameras need time after activation before a frame is useful. The tool also has to participate in macOS camera permission prompts the first time it is used.

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

ImageSnap is package-nerd useful because it exposes an Apple media-framework feature as a tiny, scriptable binary. It is the kind of package people install once for a build lab, kiosk, CI-adjacent hardware check, or personal automation and then forget until they need a camera frame from a shell script.

### 时间线

- 2010s: iHarder described ImageSnap as a way forward from the older `isightcapture` utility.
- 2017: Version 0.2.6 appeared in GitHub releases.
- 2021: The 0.2.x series continued with camera-capture maintenance releases.
- 2023: Version 0.2.16 was released before the Swift rewrite line.
- 2026: Version 0.3.0 introduced a Swift rewrite using AVFoundation.

### Related projects

- The historical comparison is Axel Bauer's `isightcapture`, which ImageSnap's original project page explicitly mentions. Within package managers, Homebrew and MacPorts both carry ImageSnap for macOS camera capture.

### 来源

- <https://formulae.brew.sh/api/formula/imagesnap.json>
- <https://github.com/rharder/imagesnap>
- <https://github.com/rharder/imagesnap/releases>
- <https://iharder.sourceforge.net/macosx/>
- <https://raw.githubusercontent.com/rharder/imagesnap/master/README.md>


## 安全说明

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:** imagesnap
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - ImageSnap: normalized package name match | MacPorts ports tree: sysutils/ImageSnap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [aravis](https://www.automicvault.com/zh-hans/pkg/brew/aravis/) - Shares av.db curated category or tags: camera, cli, media.
- [folderify](https://www.automicvault.com/zh-hans/pkg/brew/folderify/) - Shares av.db curated category or tags: cli, macos, media.
- [fx-upscale](https://www.automicvault.com/zh-hans/pkg/brew/fx-upscale/) - Shares av.db curated category or tags: cli, macos, media.
- [gphoto2](https://www.automicvault.com/zh-hans/pkg/brew/gphoto2/) - Shares av.db curated category or tags: camera, cli, media.
- [iconsur](https://www.automicvault.com/zh-hans/pkg/brew/iconsur/) - Shares av.db curated category or tags: cli, macos, media.
- [imageoptim-cli](https://www.automicvault.com/zh-hans/pkg/brew/imageoptim-cli/) - Shares av.db curated category or tags: cli, macos, media.
- [libicns](https://www.automicvault.com/zh-hans/pkg/brew/libicns/) - Shares av.db curated category or tags: cli, macos, media.
- [makeicns](https://www.automicvault.com/zh-hans/pkg/brew/makeicns/) - Shares av.db curated category or tags: cli, macos, media.
- [gifcap](https://www.automicvault.com/zh-hans/pkg/brew/gifcap/) - Both packages work with overlapping file formats or content types. Shared terms: capture, cli, image, media, video.
- [glyph](https://www.automicvault.com/zh-hans/pkg/brew/glyph/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, images, media, video.
- [openjph](https://www.automicvault.com/zh-hans/pkg/brew/openjph/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, media, or, source.

## Combined YAML source

View the package source record on GitHub. [combined/imagesnap.yml](https://github.com/automic-vault/db/blob/main/combined/imagesnap.yml)


## 来源

- 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
