img_hash
img_hash copied to clipboard
A Rust library for calculating perceptual hash values of images
Fixes https://github.com/abonander/img_hash/issues/52
https://github.com/abonander/img_hash/blob/dbfb37f9251fea8f7efeabbb2267ddb1fcd21ca6/src/dct.rs#L66 Shouldn't the width, height here be swapped? Since on line 59 it was transposed already via width * height. Now it should be transposed height * width. eg ```...
The original Blockhash domain is no longer valid. Changing the link to the latest Wayback Machine snapshot prior to README.md's last commit.
I noticed some of these libraries are pretty old, and so I set out to update them (and, you know, migrate to the 2018 edition). In so doing, I also...
Since the latest version of image-rs library require Rust 1.56.0, I think that img_hash also should use Rust 2021 edition and bump minimal requirements. For now I can't use image-rs...
Since it is fairly costly to calculate a hash, it makes sense to serialize an deserialize the ImageHash struct. To do this, the struct should derive Serialize and Deserialize from...
When going for a 128 byte image hash, I noticed that the size wasn't actually implemented, even though the doc comment said as such. So, instead of just adding more...