public class ImgAHash extends AbstractImgHash
Class which implements AHash (average hash) algorithm to create hashes of images.
Since:
1.0.6 - 2018-10-09
Author:
hypfvieh
  • Method Details

    • computeHash

      public static String computeHash(File _image) throws IOException
      Compute the AHash of the given file (which should be a valid image).
      Parameters:
      _image - image to hash
      Returns:
      hash as string
      Throws:
      IOException - on any error when reading file