Hacker News new | past | comments | ask | show | jobs | submit login

You might get a slightly better resolution with the approach taken here: https://github.com/stefanhaustein/TerminalImageViewer (= find best matching block graphics character for most prominent colors in a cell; there is a comparison to half blocks at the end).



Cool, TIV looks great! (Just compiled, ran, and tested it.)

I thought [cacaview](https://github.com/cacalabs/libcaca) was the only terminal image viewer player in town with their attendant `cacaview' prog. I'd very much appreciate it if anyone here knows of any other libs or especially the sanest way to do this in either C/C++ or Ruby … It's for a terminal-based project I have in mind :)


Some alternatives are listed in this askubuntu thread: https://askubuntu.com/questions/97542/how-do-i-make-my-termi...


I had some problems with this software, lot's of segfaults. Some images works one time but segfaults on the second view while others renders half or nothing at all before I reach a segfault.


Please file an issue at the github project, ideally with an image that always crashes.


That makes me think of the custom characters on the old Commodore64s that are often used for games that ran in text mode.


This is still a technique used by DOS game programmers today to get access to the full CGA color set with graphics. See Paku Paku for an example:

http://www.deathshadow.com/pakuPaku




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: