Releases: poslegm/scala-phash
Releases · poslegm/scala-phash
v1.2.2
v1.2.1
v.1.1.1
v.1.2.0
v1.1.0
Safe API
Solved #1. Now you can compute hashes in two ways:
val hash1: Either[Throwable, DCTHash] = dctHash(image) // safe way
val hash2: DCTHash = unsafeDctHash(image) // can throw an exception
Improved readability
Added trait PHashAlgebra
with public functions signatures and docs for comfortable API overview.