Skip to content

An image-to-ascii CLI tool that converts any jpeg, jpg or png image to an ascii representation

Notifications You must be signed in to change notification settings

codelikesuraj/go-img2ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

An image-to-ascii CLI tool that converts any jpeg, jpg or png image to an ascii representation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages