Versions in this module Expand all Collapse all v0 v0.1.0 Jun 6, 2026 Changes in this version + func Compute(text string) uint64 + func Distance(a, b uint64) int + func PHash(r io.Reader) (uint64, error) + func PHashFromHex(s string) (uint64, error) + func PHashFromImage(img image.Image) uint64 + func PHashHex(hash uint64) string + func Similarity(a, b uint64) float64 + type PHashError struct + func (e *PHashError) Error() string