There are so many unofficial escape sequences for rendering images in modern terminal emulators. Kitty has one, as does Terminology and iTerm (both different from each other). Then there is stuff like Sixel (supported by xterm), ReGIS (also supported by xterm but it's horrible to use) and other methods from VTs of old.
I really wish there was just one standard way to render images on the terminal (like there is one standard for rendering hyperlinks on the terminal), but there's an XKCD sketch somewhere about creating a standard to consolidate standards.
Comments
There are some terminals and/or protocols that support this:
* https://en.m.wikipedia.org/wiki/ReGIS
* https://en.m.wikipedia.org/wiki/Sixel
* https://en.m.wikipedia.org/wiki/Tektronix_4010
Some code:
* https://github.com/saitoha/PySixel/
* https://github.com/eliukblau/pixterm
Some of these seem a little hacky.
Jupyter has sort of a terminal mode... I really think we should start using something like Jupyter as our main terminal.
Kitty terminal can too, and has designed a protocol for it: https://github.com/kovidgoyal/kitty/blob/master/docs/graphic...
There are so many unofficial escape sequences for rendering images in modern terminal emulators. Kitty has one, as does Terminology and iTerm (both different from each other). Then there is stuff like Sixel (supported by xterm), ReGIS (also supported by xterm but it's horrible to use) and other methods from VTs of old.
I really wish there was just one standard way to render images on the terminal (like there is one standard for rendering hyperlinks on the terminal), but there's an XKCD sketch somewhere about creating a standard to consolidate standards.
This one:
https://imgs.xkcd.com/comics/standards.png
MacTerm implements Sixels, some of the bitmap graphics sequences from iTerm2, and TEK vector graphics.
Graphics are definitely not that widely supported though, making it hard for programs to reliably display images.