4 ms·
You might get a slightly better resolution with the approach taken here: https://github.com/stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein
by dukoid 9y ago
You might get a slightly better resolution with the approach taken here: https://github.com/stefanhaustein/TerminalImageViewer 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).
- hultner 9y agoI 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.
- dukoid 9y agoPlease file an issue at the github project, ideally with an image that always crashes.
- djsumdog 9y agoThat makes me think of the custom characters on the old Commodore64s that are often used for games that ran in text mode.
- AnIdiotOnTheNet 9y agoThis 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 http://www.deathshadow.com/pakuPaku
- igravious 9y agoCool, TIV looks great! (Just compiled, ran, and tested it.) I thought [cacaview](https://github.com/cacalabs/libcaca 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 :)
- dukoid 9y agoSome alternatives are listed in this askubuntu thread: https://askubuntu.com/questions/97542/how-do-i-make-my-terminal-display-graphical-pictures/ https://askubuntu.com/questions/97542/how-do-i-make-my-termi...