For finding exact matches.
The raw representation produces a very sparse bitmap, we want binary for efficiency, but the only way to get that is to convert from the hex representation.
This uses one of a number of supported algorithms to hash a given avatar, namely `phash`, `dhash`, `average_hash` or `whash`.