Skip to content

Latest commit

 

History

History

ASCIIfy_Image

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

ASCIIfy your image

This python script converts the input image to an ASCII version of itself. This is achieved by giving a different range of grayscale values to different special characters from the ASCII set. The whole image is then converted based on this.

Setting up:

  • Create a virtual environment and activate it

  • Install the requirements

  $ pip install pillow

Running the script:

  $ python asciify.py [image_path]  #without the brackets

Example running the script

  $ python asciify.py input.jpg  

Input image

Will be converted to....


Converted image