ASCII Art Generator is a Python script that converts images or GIFs into ASCII art or vice versa. It utilizes the PIL library for image processing and ASCII art generation.
- Convert images to ASCII art
- Convert GIFs to ASCII art
- Convert ASCII art back to images
- Convert ASCII art to GIF animations
- Python 3.x
- PIL (Python Imaging Library)
- imageio
- tqdm
-
Clone the repository:
git clone https://github.com/your-username/ascii-art-generator.git
-
Navigate to the project directory:
cd ascii-art-generator
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the
main.py
script:python main.py
-
Choose the desired conversion option (image or GIF).
-
Select the file(s) you want to convert using the file dialog.
-
Follow the prompts to specify conversion parameters such as scale factor and font size.
-
Optionally, choose whether to save the result to a file.
python main.py
Choose option 1 for image conversion, select the image file, and follow the prompts.
python main.py
Choose option 2 for GIF conversion, select the GIF file, and follow the prompts.
This project is licensed under the MIT License. See the [MIT License](MIT License) file for details.