Versions in this module Expand all Collapse all v0 v0.0.1 Dec 28, 2021 Changes in this version + func ColorHex(c color.Color) string + func Encode(fg, bg color.Color, prevfg, prevbg *color.Color) (encoded string) + func FromFile(filename string) (encoded string, err error) + func FromImage(img image.Image) (encoded string, err error) + func FromImageGeneric(img image.Image) (encoded string, err error) + func FromNRGBA(img *image.NRGBA) (encoded string, err error) + func FromPaletted(img *image.Paletted) (encoded string, err error) + func FromReader(reader io.Reader) (encoded string, err error)