jenssegers / imagehash

🌄 Perceptual image hashing for PHP

Home Page:https://jenssegers.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlockHash

karlbuckland opened this issue · comments

Thanks for the hard work on this!

Is anyone working on fixing Blockhash? I had a look and compared to the JS implementation, but honestly I'm not sure why it's trying to access the 17th array element.

It'd be good to be able to compare Blockhash vs the others. So far PerceptualHash seems the best to me.

Hi, I just get error connected to this issue, is there any way to resolve this?

[2021-02-22 10:28:36] local.ERROR: Undefined offset: 16 {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined offset: 16 at /var/www/vendor/jenssegers/imagehash/src/Implementations/BlockHash.php:150)

Hi, I just get error connected to this issue, is there any way to resolve this?

[2021-02-22 10:28:36] local.ERROR: Undefined offset: 16 {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined offset: 16 at /var/www/vendor/jenssegers/imagehash/src/Implementations/BlockHash.php:150)

I'm getting the same errors.

Actually, using the latest from master branch solves the above for me. I'm guessing this commit fixed the issue.