macOS
brew install blockhashlocal Homebrew formula metadata
brew / rank 6200
Perceptual image hash calculation tool. Version 0.3.3 via Homebrew; verified 2026-07-06. Also installable with nix: nix profile install nixpkgs#blockhash.
install
brew install blockhashlocal Homebrew formula metadata
nix profile install nixpkgs#blockhashnixpkgs package indexes · pkgs/by-name/bl/blockhash/package.nix · source: api.github.com
overview
Perceptual image hash calculation tool
history
blockhash is a small Commons Machinery command-line tool for computing perceptual image hashes. It packages the block mean value perceptual-hashing algorithm into a Unix-style utility that can hash one or more images from the shell.
The official README says blockhash is based on the algorithm described in 'Block Mean Value Based Image Perceptual Hashing' by Bian Yang, Fan Gu, and Xiamu Niu. GitHub metadata dates the repository to September 2014, and the README copyright line names Commons Machinery in 2014.
The release history shows v0.1 in December 2014, follow-up 0.2 releases in January 2017, v0.3 in November 2017, and later maintenance releases through v0.3.3 in January 2023.
blockhash has narrow but durable package adoption. The input metadata records Homebrew and Nix packages, which is enough for scripts and reproducible media-processing environments to depend on the CLI without building the ImageMagick-backed source manually.
The README documents a direct CLI workflow: run `blockhash` with a list of images to calculate hashes, or `blockhash --help` for options. Building from source requires ImageMagick's MagickWand development library and the waf build script.
blockhash matters as a compact packaged implementation of perceptual hashing, useful for duplicate detection, image comparison, media archives, and content pipelines where cryptographic hashes are too brittle because visually similar images may have different bytes.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
blockhash | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:blockhash |
|---|---|
| Version | 0.3.3 |
| Package manager | Homebrew |
| Homepage | https://github.com/commonsmachinery/blockhash |
| Repository | https://github.com/commonsmachinery/blockhash |
| Last updated | 2026-07-06T11:06:08Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
blockhash
nix profile install nixpkgs#blockhashsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.