Convert your favorite images into ASCII art with ASCIIPortrait.
- Convert any image (JPG, PNG, etc.) into ASCII art.
- Direct output to a text file for easy sharing.
- Easily adjustable output width to suit your preference.
-
Clone this repository:
git clone <repository-url> -
Navigate to the project directory:
cd ASCIIPortrait -
Make sure you have
Pillowinstalled. If not, install it using pip:pip install Pillow
-
Run the script:
python ASCIIPortrait.py -
Enter the path to the image you wish to convert.
-
Check the generated
ascii_output.txtfile in the same directory for your ASCII art representation.
To adjust the output width (default is set to 100), you can modify the output_width parameter in the script.