3 ms·
What can Sixel do for me? Any interesting examples?
by plmpsu 1mo ago
What can Sixel do for me? Any interesting examples?
- matt_kantor 1mo agoIt can display images in your terminal. This is made pretty clear by the first paragraph on the page and also by the Wikipedia article it links to[0]; I'm wondering what else you're asking for. [0]: https://en.wikipedia.org/wiki/Sixel https://en.wikipedia.org/wiki/Sixel
- plmpsu 1mo agoInteresting use cases. Can TUIs benefit? Any prominent examples?
- phoyd 1mo agoYazi, If, and Ranger file managers use it to display images inline. Euporie allows you to run a graphical Jupyter console session. Sixel is a very old standard and has been used to display graphics in terminals since the 80s. It fell out of favor when high-resolution bitmapped desktop environments became mainstream (and affordable), but it is still useful if you are doing remote console work and don't want to set up network hoops with ad hoc HTTP servers just to view a remote diagram.
- 1718627440 1mo agoFeels to me like it violates the only real assumption for a terminal.
- NuclearPM 1mo agoWhich is?
- 1718627440 1mo agoEverything is text.
- matt_kantor 1mo agoPeople have been drawing ASCII art since ASCII was invented, and control codes like the bell "character" existed even before computers did.
- 1718627440 1mo agoWhich is still linear text all tools work with.
- matt_kantor 1mo agoWhat's your definition of "text"? (I define it as "written words in a human-readable language". You must have something else in mind, because neither ASCII art nor control codes fit my definition.)
- 1718627440 1mo agoA linear stream of non-null characters, the majority of content being printable glyphs.
- NuclearPM 29d agoWhat is a null character? That’s like saying “non-zero chance”.
- zamadatix 1mo agoTell that to something as fundamental as ASCII 0x07!