Skip to content

Threadlinee/ImageToASCII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ–ผ๏ธ Image To ASCII ART Converter โ€” Python GUI Edition

๐Ÿ’ป Turn any image into clean, crispy ASCII art using a dope Tkinter GUI โ€” scaled perfectly to your screen like Ilphuโ€™s classic tool, but in Python ๐Ÿ”ฅ


๐Ÿ“ธ Preview

image
โ€œFrom pixels to terminal vibes โ€” built for hackers, artists, and anyone who loves that retro aesthetic.โ€


โš™๏ธ Features

โœ… Auto-scaling to your screen resolution
โœ… Slick dark-themed GUI (Tkinter)
โœ… Supports all major image formats: .jpg, .png, .bmp, .gif, .ico, .webp, etc.
โœ… Instant ASCII preview in terminal style
โœ… Reset / Exit with Ctrl + C
โœ… Built 100% offline โ€” no image ever leaves your machine
โœ… Cross-platform โ€” works on Windows, macOS, and Linux


๐Ÿš€ How to Use

1. ๐Ÿ”ง Install Requirements

All needed libraries are listed in the requirements.txt. Run:

pip install -r requirements.txt
2. ๐Ÿง  Launch the App
python ascii_converter.py
Then just click โฌ†๏ธ Upload Image โฌ†๏ธ, pick your pic, and boom โ€” ASCII magic.

๐Ÿ“„ requirements.txt
Pillow
numpy
You can add more later if needed (e.g., color ASCII, exports, etc.)

๐Ÿง  How It Works
The script converts your image into grayscale, scales it perfectly based on your monitor's resolution, maps pixel brightness to characters using a custom ASCII ramp, and displays the result inside a styled text box.

Want to change the character style? Modify this:

self.ascii_ramp = " .:-=+*#%@"
Try emojis, symbols, or custom ramps for different vibes ๐Ÿ˜Ž

๐Ÿ›  Built With
๐Ÿ Python 3.7+

๐Ÿ–ผ Pillow โ€“ image handling

๐Ÿ“Š NumPy โ€“ pixel matrix crunchinโ€™

๐Ÿ–ฅ Tkinter โ€“ GUI (native, no bloat)

๐Ÿ’ก Inspired by Ilphu's C++ ASCII Renderer: andrei.codes/ascii-camera

โœ๏ธ Author
๐Ÿ‘ค Threadlinee
๐ŸŽฉ Ethical Hacker | ๐Ÿ’ป GUI Mastermind | ๐ŸŽจ Terminal Art Enthusiast

โ€œI donโ€™t make tools. I make digital art for the command line gods.โ€

๐Ÿ“„ License
MIT License โ€” Do whatever you want, just donโ€™t sell it as your own. Credit where credit due โœŠ

๐ŸŒŸ Support & Ideas
๐Ÿ’ฌ Got ideas? Wanna collab? DM or open a PR. ASCII art ainโ€™t dead โ€” we bringinโ€™ it back, pixel by pixel.

โญ Like this project?
Show some love. Star the repo. Fork it. Share it.
Let the world know that ASCII art is STILL ALIVE.

โ˜• Support Me

If you like this project, feel free to buy me a coffee!

Releases

No releases published

Packages

No packages published

Languages