5 ms·
Also: https://github.com/saitoha/libsixel https://github.com/saitoha/libsixel contains img2sixel, which lets you dump images to the terminal. It can also do a
by msla 4y ago
Also:
https://github.com/saitoha/libsixel https://github.com/saitoha/libsixel
contains img2sixel, which lets you dump images to the terminal. It can also do animated GIFs.
Video:
https://github.com/saitoha/FFmpeg-SIXEL https://github.com/saitoha/FFmpeg-SIXEL
GUI apps:
https://github.com/saitoha/SDL1.2-SIXEL https://github.com/saitoha/SDL1.2-SIXEL
and more, linked from the libsixel repository.
- junon 4y agoSixel is, woefully, not very well supported by terminal emulators :/ I really wish it were. There's also the Kitty graphics API but I've never actually seen it work on any machines I've used Kitty, Wezterm, etc. that supposedly support it.
- smasher164 4y agoYeah, in an effort to spur adoption, I built (shameless plug) https://www.arewesixelyet.com/ https://www.arewesixelyet.com/. What’s interesting is that if VTE gets support, a lot of other terminals will, since they depend on it.
- kps 4y agomlterm supports sixels — https://github.com/arakiken/mlterm https://github.com/arakiken/mlterm
- smasher164 4y agoThanks! Added it: https://github.com/smasher164/arewesixelyet/commit/4e8f68e98ca https://github.com/smasher164/arewesixelyet/commit/4e8f68e98....
- junon 4y agoOoh thanks! I love this.
- dolmen 4y agoSee https://github.com/dolmen-go/kittyimg https://github.com/dolmen-go/kittyimg
- dgacmu 4y agoThis is astoundingly great - thank you for linking! (The expected use case - generating quick plots on a remote machine; I usually just scp them back, but with this, and the new-to-me matplotlib integration, i can just have them show up in the terminal without having to launch a notebook or fight with X). Well supported by iterm2 on mac as the terminal side.
- db48x 4y agoIt’s one of the lesser–known superpowers :)