Skip to content

Convert images and GIFs to ASCII graphics with this Python tool. Use the ASCIIArtGenerator library and Tkinter for an intuitive interface. Customize font size, scale and create stunning ASCII graphics or animations. Easily share your creative ASCII drawings!

Notifications You must be signed in to change notification settings

Worton1720/ASCII-Art-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

Features

  • Convert images to ASCII art
  • Convert GIFs to ASCII art
  • Convert ASCII art back to images
  • Convert ASCII art to GIF animations

Requirements

  • Python 3.x
  • PIL (Python Imaging Library)
  • imageio
  • tqdm

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/ascii-art-generator.git
  2. Navigate to the project directory:

    cd ascii-art-generator
  3. Install the required Python packages:

    pip install -r requirements.txt

Usage

  1. Run the main.py script:

    python main.py
  2. Choose the desired conversion option (image or GIF).

  3. Select the file(s) you want to convert using the file dialog.

  4. Follow the prompts to specify conversion parameters such as scale factor and font size.

  5. Optionally, choose whether to save the result to a file.

Examples

Converting an Image to ASCII Art

python main.py

Choose option 1 for image conversion, select the image file, and follow the prompts.

Converting a GIF to ASCII Art

python main.py

Choose option 2 for GIF conversion, select the GIF file, and follow the prompts.

License

This project is licensed under the MIT License. See the [MIT License](MIT License) file for details.

About

Convert images and GIFs to ASCII graphics with this Python tool. Use the ASCIIArtGenerator library and Tkinter for an intuitive interface. Customize font size, scale and create stunning ASCII graphics or animations. Easily share your creative ASCII drawings!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages