An open API service indexing awesome lists of open source software.

https://github.com/threadlinee/imagetoascii

Convert all types of images into ASCII ART
https://github.com/threadlinee/imagetoascii

art ascii ascii-art github hacking-tool image lua python useful-scripts vue

Last synced: 4 months ago
JSON representation

Convert all types of images into ASCII ART

Awesome Lists containing this project

README

          

# πŸ–ΌοΈ 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:

```bash
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](https://ko-fi.com/G2G114SBVV)!