Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 886 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 886 Bytes

ASCIIPortrait

Convert your favorite images into ASCII art with ASCIIPortrait.

Features

  • 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.

Installation

  1. Clone this repository:

    git clone <repository-url>
    
  2. Navigate to the project directory:

    cd ASCIIPortrait
    
  3. Make sure you have Pillow installed. If not, install it using pip:

    pip install Pillow
    

Usage

  1. Run the script:

    python ASCIIPortrait.py
    
  2. Enter the path to the image you wish to convert.

  3. Check the generated ascii_output.txt file in the same directory for your ASCII art representation.

Customization

To adjust the output width (default is set to 100), you can modify the output_width parameter in the script.