Versions in this module Expand all Collapse all v1 v1.1.1 Jan 2, 2021 v1.1.0 Jan 2, 2021 Changes in this version + var ErrInvalidComponents = errors.New("blurhash: must have between 1 and 9 components") + var ErrInvalidHash = errors.New("blurhash: invalid hash") + func Components(hash string) (x, y int, err error) + func Decode(hash string, width, height int, punch int) (image.Image, error) + func DecodeDraw(dst draw.Image, hash string, punch float64) error + func Encode(xComponents, yComponents int, img image.Image) (hash string, err error)