Documentation ¶ Index ¶ func Compute(r io.Reader) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Compute ¶ func Compute(r io.Reader) (string, error) Compute reads an image from r, decodes it, and returns a 16-char hex pHash string. Returns empty string and nil error for unsupported/undecodable image formats. Returns empty string and error only for hashing failures on successfully decoded images. Types ¶ This section is empty. Source Files ¶ View all Source files phash.go Click to show internal directories. Click to hide internal directories.