Hacker News new | past | comments | ask | show | jobs | submit login
ANSIArt (mrogalski.eu)
56 points by Lutzb 2 days ago | hide | past | favorite | 7 comments

See also https://github.com/hpjansson/chafa which is an image -> unicode library written in C. I built it into my BBS so users can embed images in their posts. Some turn out better than others but it gives the board a unique feel at least.

Another C++ Library (+command line tool) to convert images to Ansi art is TerminalImageViewer(tiv): https://github.com/stefanhaustein/TerminalImageViewer

The algorithm is described at the top of the README, examples are at the end.

I'd really be interested to read what the specific innovation is for new libraries / algorithms... A shared reference image would probably also help to see the differences...

Interesting idea, but the Render button doesn't seem to work for me though.

  Uncaught ReferenceError: OffscreenCanvas is not defined
Testing Only In Chrome strikes again!

Same here. That's sad.

When I drop a .ttf file on the page I get "Only images & fonts can be dropped onto this page!" message. If I try to upload a .ttf file I get "Only font files can be selected".

The file I'm trying to upload is "JuliaMono-Regular.ttf" downloaded from the provided link on the page.

This sounds like libcaca[0]

[0] - https://en.wikipedia.org/wiki/Libcaca

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact