Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dijs/dhash
dHash Implementation for Node
https://github.com/dijs/dhash
Last synced: about 2 months ago
JSON representation
dHash Implementation for Node
- Host: GitHub
- URL: https://github.com/dijs/dhash
- Owner: dijs
- Created: 2014-04-03T17:23:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T18:55:21.000Z (over 9 years ago)
- Last Synced: 2024-11-08T07:42:43.577Z (about 2 months ago)
- Language: JavaScript
- Size: 175 KB
- Stars: 29
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![NPM Version](https://img.shields.io/npm/v/dhash.svg)](https://www.npmjs.com/package/dhash)
[![Build Status](https://travis-ci.org/dijs/dhash.svg)](https://travis-ci.org/dijs/dhash)# dhash (difference hash)
dHash - image hash implementation for node
### Install
```
npm install dhash
```**Requires [Image Magick](http://imagemagick.org/)**
### Usage
```js
var dhash = require('dhash');dhash('/path/to/image', function(err, hash){
// Do something with hash hex-string...
});// Optional last argument for hash size in bytes (Default: 8)
```