KilianB/JImageHash

With 2.0.0 binary tree has to take hash length into account

KilianB opened this issue · 0 comments

In MemoryImageMatcher fails unit test due to binary tree not sorting hashes correctly with smaller length.

Should be the difference between the bitLength and the hash.getBitResolution();. Add 0 padds for smaller hashes.

Add test cases to catch this error.

Related to #9