Skip to content

Image2ASCII is a Python script transforming images into ASCII art. Resize, grayscale, and map pixels to ASCII characters to craft unique art pieces. Save your ASCII creations to text files! ๐Ÿ’พ๐ŸŽจ

Kernel-rb/Image2ASCII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Image2ASCII ๐Ÿ–ผ๏ธโžก๏ธ๐Ÿ”ค

Convert images to ASCII art using Python! ๐Ÿ

Description โ„น๏ธ

Image2ASCII is a Python script that converts images into ASCII art. It reads an image file, resizes it, converts it to grayscale, and then maps the pixel values to ASCII characters. The resulting ASCII art is displayed on the console and saved to a text file. ๐ŸŽจ

Features โœจ

  • Convert images to ASCII art.
  • Resize images to adjust the width.
  • Convert images to grayscale for better representation.
  • Save the generated ASCII art to a text file. ๐Ÿ’พ

Requirements ๐Ÿ› ๏ธ

  • Python 3.x
  • Pillow library (pip install Pillow)

Usage ๐Ÿš€

  1. Clone the repository:

    git clone https://github.com/Kernel-rb/Image2ASCII.git
  2. Navigate to the project directory:

    cd Image2ASCII
  3. Run the script:

    python image2ascii.py
  4. Follow the prompts to enter the path to the image you want to convert.

  5. View the generated ASCII art on the console. ๐Ÿ‘€

  6. Find the ASCII art saved in the file named asciiArt.txt in the same directory.

Sample ๐Ÿ–ผ๏ธ

Sample ASCII Art

Contributing ๐Ÿค

Contributions are welcome! If you have any ideas, enhancements, or bug fixes, feel free to open an issue or submit a pull request. ๐ŸŽ‰

About

Image2ASCII is a Python script transforming images into ASCII art. Resize, grayscale, and map pixels to ASCII characters to craft unique art pieces. Save your ASCII creations to text files! ๐Ÿ’พ๐ŸŽจ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages