Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.25 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.25 KB

go-img2ascii - An image-to-ascii converter

This is a cli tool that converts any jpeg, jpg or png image to an ascii representation.

Sample

Original Ascii'd
image image
image image

Usage

go run main.go [path-to-image] [character-width]

Installation

Todo

  • ✅ load and decode image file
  • ✅ resize the image
  • ✅ convert image to grayscale
  • ✅ map grayscaled image to ascii characters
  • ✅ save ascii'd image to file
  • ✅ refactor with any cli library (https://github.com/urfave/cli)