Show HN: 24bit RGB "AnsiArt" Terminal Image Viewer
github.com
github.com
To me, a big part of the nostalgia of ANSI as it was through the 80's/90's was the skill it took to get something to look like anything with the block/shading characters, 16 foreground and 8 background colors. Even getting the color pallet right in modern apps is pretty off compared to original DOS, which was based on 252,252,252 being white, from there, the offsets are proper.
It's an interesting time we live in... UHD monitors, with more room than I could have imagined in front of me over 20 years ago, when 640x480 was typical, and 1024x768 was cutting edge... let alone a big color range.
Unfortunately I had to remove some of the more interesting diagonal shapes because they are wider than the character cell -- despite the monospaced font... :-/
I actually wrote this because I wanted to test my "pure Java" implementation of strict Typescript by running the raytracer example -- without needing to add a windowing library or image encoder: https://github.com/stefanhaustein/typo
Got the idea to extract the terminal image viewer from an Ubuntu stackexchange post asking for a tool that would display image thumbnails in the shell without opening a new window: http://askubuntu.com/questions/97542/how-do-i-make-my-termin...
If you run the tool on an image directory, I think you get a pretty good idea what's in the images from the thumbnails (compared to 16bit color)
However, I feel like the draw of a tool like this is that it can run in minimalist environments where a GUI is not available. I'm not sure how I feel about having to spin up a JVM to use it.