mirror of
https://codeberg.org/JasterV/imgphash.git
synced 2026-04-26 18:10:01 +00:00
patch update
This commit is contained in:
parent
d8a0cb802f
commit
aed3342b64
3 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<h1 align="center">Welcome to imgphash 👋</h1>
|
||||
<p>
|
||||
<img alt="Version" src="https://img.shields.io/badge/version-0.3.0-blue.svg?cacheSeconds=2592000" />
|
||||
<img alt="Version" src="https://img.shields.io/badge/version-0.3.1-blue.svg?cacheSeconds=2592000" />
|
||||
<a href="https://github.com/JasterV/imgphash#readme" target="_blank">
|
||||
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@
|
|||
"javascript",
|
||||
"phash",
|
||||
"hashing",
|
||||
"images"
|
||||
"images",
|
||||
"image-phash"
|
||||
],
|
||||
"author": "Victor Martinez <jaster.victor@gmail.com>",
|
||||
"license": "MIT",
|
||||
|
|
@ -32,4 +33,4 @@
|
|||
"url": "https://github.com/JasterV/imgphash/issues"
|
||||
},
|
||||
"homepage": "https://github.com/JasterV/imgphash#readme"
|
||||
}
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@ class PHash {
|
|||
"Can't construct a PHash instance with a non-binary string value"
|
||||
);
|
||||
}
|
||||
this.hash = hash;
|
||||
this.hash = hash.trim();
|
||||
}
|
||||
|
||||
compare(other) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue