Skip to content

Latest commit

 

History

History
 
 

Image to ASCII Art

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 


Prettier License

Description:

  • Let's see a Python script that will convert any Image to ASCII art.
  • For the conversion, I'll be utilising the pywhatkit module.
  • image to ascii art is a function in the pywhatkit that assists with the conversion.

Procedure to follow:

import pywhatkit
  • Now, call the user image function with the path of the input image.
  • Also, provide the location in which you wish the result to be saved as a text file.
  • Now, provide both the path and the result to the function image to ascii art to view the outcome.

Sample Output:

Before:

After: