img2char

img2char

In 1986, I wrote a BASIC program on a Sharp X1 that converted graphics into ASCII characters using the character ROM and graphic VRAM. It was used to post images on BBS forums in the early days of Japanese personal computer networks.

img2char recreates that algorithm in Go. It uses 8x8 dot pattern matching with Hamming distance instead of density-based conversion, preserving contours and line directions in the output.

Install

brew install yostos/tap/img2char