News for hackers. Stuff that matters.
Re:TermKit: A Rich Graphical Terminal (2011) by georgia_peach on Wednesday March 02, 2022 @08:21AM (#30527020)
Kitty, iTerm, Mintty, Wezterm, & many others support an escape code for base64-encoded images (gif/jpg/png). Most GUI terms also support sixel--which is highly inefficient, but gets the job done. None of that is as slick as this, but I consider that to be a good thing.
Re:TermKit: A Rich Graphical Terminal (2011) by thechao on Wednesday March 02, 2022 @08:49AM (#30527267)
Is Sixel highly inefficient? It's palettized, and encodes a 6b value in an 8b code. It'd be nice if terms supported "inline PPM"; those are (on average) only somewhat larger than their equivalent BMP. (Worst case is 2x, roughly.)

If we had an "ASCII QOIF", you could dramatically beat BMP, most of the time, and be within 33% of a PNG, in many cases.

Re:TermKit: A Rich Graphical Terminal (2011) by georgia_peach on Wednesday March 02, 2022 @08:59AM (#30527347)
What it gives with RLE, it takes back with overpainting to have multiple colors on the same line. It is a hot mess.
Re:TermKit: A Rich Graphical Terminal (2011) by georgia_peach on Wednesday March 02, 2022 @01:54PM (#30531242)
Also, what is QOIF?
Re:TermKit: A Rich Graphical Terminal (2011) by isaacimagine on Thursday March 03, 2022 @01:23AM (#30537813)
quite okay image format: https://qoiformat.org/