git

github.com/ivolo/go-image-to-ascii

go get github.com/ivolo/go-image-to-ascii

Readme

go-image-to-ascii

Convert image to ascii.

import "github.com/ivolo/go-image-to-ascii"
// ..

f, err := os.Open("screenshot.png")
img, err := png.Decode(f)
fmt.Print(ascii.Convert(img))

image

Jump To