How It Works
- Load an image using
PIL.Image.open() - Resize and convert to grayscale
- Map pixel brightness to characters from a custom ASCII set
- Optional: Skip background based on user input (
whiteorblack) - Output formatted ASCII string to
ASCII_img.txt
Image1 -
Image2 -
Features
- Converts
.jpg,.png, and other image formats - Optional background filtering (white or black)
- Accurate aspect ratio fix for terminal display
- Outputs clean
.txtASCII file - Easily customizable width and ASCII characters
Requirements
- Python 3.x
- Pillow



