Skip to content

Instantly share code, notes, and snippets.

var Jimp = require("Jimp");
/*
* Compute Perceptual Hash of an Image
* Javascript equivalent of https://github.com/bjlittle/imagehash
*
* These hashes differ by ~1-3 Hamming distance from original python implementation
*
*/