this post was submitted on 17 Jan 2026
55 points (96.6% liked)
Programming
24501 readers
130 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was kind of interested in doing this for Unicode a while back, which has the potential to provide for a lot more possible characters and thus a lot more-accurate renditions. If you don't care about real-time operation, I suspect that you can do this with off-the-shelf software by just writing a small amount of code to generate an image for each character
a shell script driving ImageMagick could do it
and then feeding it into photomosaic software, like metapixel.
The major limitation is that unless you're just interested in doing this for the text-based aesthetic and are actually rendering and presenting an image to the end user
think something like Effulgence RPG, Warsim, Armoured Commander II, Armoured Commander, Cogmind, SanctuaryRPG, Cataclysm: Dark Days Ahead, Stone Story RPG, Roots of Harmony, and so forth
you can't control the font that the thing is rendered in on the end user's computer. And the accuracy of the rendering degrades the more the typeface used on an end user's computer differs from your own.
It'd probably be possible to build some kind of system that does take into account the differences for different typefaces, scores characters higher based on checking for character similarity across different typefaces.
Note that there are also at least two existing libraries out there
what I can think of off the top of my head
that will do image-to-ASCII conversion
aalib and libcaca, the latter of which has color support. I also posted a tiny program some time back to generate images using the colored Unicode tiles, and I imagine that someone out there probably has a website that does the same thing.
I apparently actually did two of these on different occasions, using different, restricted Unicode character ranges (ones that only look at the value of the character as a whole, no subpixel rendering). Can't find the (newer) color one, but the black-and-white one:
Is generated by the program with this uuencoded source:
source
I've also seen various programs that use the Braille Unicode characters for higher-resolution bitmap rendering, like mapscii, and I suspect that someone's probably written software to convert to that.