A simple fun .py script to convert .jpeg/.png images into ASCII embedded art as a .txt file, using Python's pywhatkit library.
- Download the .zip from here
- Unzip/extract the directory
- Open the extracted directory in VsCode or any other IDE of your choice.
- Head to the
./src/
dir and put your desired image (.jpeg/.png) that you wanna generate ASCII art of - Make sure the directory is empty before adding your own image, in case not, empty the dir
- Open the
app.py
file and execute it on the IDE terminal. - Your desired ASCII art of the source image will be generated in the
./art/
dir
- Make sure you have pywhatkit Python Library installed, if not, then (in your terminal) do
pip install pywhatkit
- Make sure
./src/
directory is empty before you executeapp.py
- A source image and it's generated ASCII art has already been provided in the
./src/
&./art/
dir respectively