Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 695 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 695 Bytes

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