Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 imagesnap

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install imagesnap

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ImageSnap

MacPorts ports tree · sysutils/ImageSnap/Portfile · 来源: api.github.com

概览

软件包摘要

Tool to capture still images from an iSight or other video source

命令和别名

  • imagesnap

历史

项目历史与用法

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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:video,image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
imagesnapcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.3.0.2
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/rharder/imagesnap

安装元数据

软件包元数据

软件包键brew:imagesnap
版本0.3.0.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/imagesnap
主页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
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameimagesnap
Version Scheme0
Revision0
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

ImageSnap

sudo port install ImageSnap
  • normalized package name match
  • 匹配方式:Imagesnap
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/ImageSnap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment