blockhash
« Back to VersTracker
Description:
Perceptual image hash calculation tool
Type: Formula  |  Latest Version: 0.3.3@4  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: perceptual-hash image-processing deduplication cli fingerprinting
Install: brew install blockhash
About:
Blockhash is a command-line utility that computes a perceptual hash for images, generating a fingerprint that remains consistent even after modifications like resizing or compression. This allows for reliable image identification and duplicate detection across different file formats and sizes. It leverages ImageMagick for image processing, making it a lightweight and scriptable solution for media libraries.
Key Features:
  • Perceptual hashing algorithm
  • Command-line interface
  • ImageMagick integration
  • Cross-platform compatibility
  • Fast processing
Use Cases:
  • Deduplicating photo libraries
  • Identifying modified versions of images
  • Content-based image retrieval systems
  • Digital asset management
Alternatives:
  • phash – phash is a C library that blockhash is similar to, but blockhash offers a standalone CLI tool.
  • ImageMagick compare – ImageMagick's built-in compare tool focuses on pixel differences, whereas blockhash generates a hash for similarity matching.
License: MIT
Dependencies: imagemagick
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 14, 2025 9:07pm 4 VERSION_BUMP 787559c1
Nov 10, 2024 12:48am 3 VERSION_BUMP 6ef3da4b
Sep 12, 2024 4:47pm 2 VERSION_BUMP 29209fa2