Image to ASCII converter

I’ve been working on p2ascii, a Python tool that converts images into ASCII art, optionally using edge detection and color rendering. The idea came from a YouTube video exploring the theory behind ASCII rendering and edge maps — I decided to take it further and make my own version with more features.

Feel free to check out the code and let me know what could be improved or added: GitHub: https://github.com/Hugana/p2ascii

What the project does:

Converts images to ASCII art, with or without color

Optional edge detection to enhance contours

Transparency mode – only ASCII characters are rendered

CLI-friendly and works on Linux out of the box

Lightweight and easy to extend

What’s included: Multiple rendering modes:

Plain ASCII

Edge-enhanced ASCII

Colored and transparent variants

ASCII text with or without color

Target Audience:

Python users who enjoy visual art projects or tinkering

Terminal enthusiasts looking for fun or quirky output

Open source fans who want to contribute to a niche but creative tool

Anyone who thinks ASCII art is cool

submitted by /u/huganabanana to r/Python
[link] [comments]


Commentaires

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *