
com.github.hypfvieh.imaging.IImgHash Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-utils Show documentation
Show all versions of java-utils Show documentation
A collection of utils commonly used in my projects.
Feel free to use it (or parts of it) in your own projects.
The newest version!
package com.github.hypfvieh.imaging;
import java.io.File;
import java.io.IOException;
/**
* Interface which must be implemented by every image hashing class.
*
* @author hypfvieh
* @since v1.0.6 - 2018-10-09
*/
@FunctionalInterface
public interface IImgHash {
/**
* Calculate the hash of given image.
* @param _image image to hash
* @return hash as string
* @throws IOException when file processing fails
*/
String computeHash(File _image) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy