Skip to content

Litschi123/img2ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

IMG 2 ASCII

Convert images to ascii (images) from the commandline

How it works

For every pixel of the image the greyscale value will be map to a corresponding character of a predefined set of characters which can be specified as an argument. Every aspect of the scan, the mapping and the final character placement can be specified in the CLI.

Example

bob_ross

Capabilities / ToDo

  • Output ascii characters to text file (togglable)
  • Create new image which shows the source image pixels in ascii characters
  • Output image can be immediatly shown upon completion when specified
  • Make the ascii characters represent the actual pixel color (togglable)
  • Change ascii character set (haven't really decided on a default set)
  • Variable background color (defaults to (20,20,20))
  • Variable character dimensions on the final image (default: 7,9)
  • Set vertical/horizontal step size for pixel scan to skip some pixels, since the character are larger than one pixel the output image will be equally larger

About

Create ascii art from image in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages