3 ms·
I would love it if all terminals agreed and implemented libsixel or another graphics format. libsixel is not supported by urxvt, alacritty, any VTE-based termi
by zimbatm 8y ago
I would love it if all terminals agreed and implemented libsixel or another graphics format.
libsixel is not supported by urxvt, alacritty, any VTE-based terminals as far as I know.
iTerm2 has a custom base64-encodig based image format.
there are even more: https://github.com/dylanaraps/neofetch/wiki/Image-Backends https://github.com/dylanaraps/neofetch/wiki/Image-Backends
- csdvrx 8y agoYou're right- more terminals need to implement a common format. I wish VTE and gnome-terminal would add sixel support
- rbanffy 8y agoWhile we are at it, let's add Tektronix 4010 graphics. With bright drawing beam and flash screen erase ;-) It'd be nice to have an agreed-upon simple standard for graphics in terminals. At the same time, Unicode 13 will add 2x3 graphics blocks from ITU T.100 and T.101 standards and a couple fonts will start supporting them from the start, so some lower resolution graphics will be immediately useful. I'm not sure if sixels will work under tmux or screen - someone mentioned they do, but I'm not sure how: the same problem we have with double-width and double-height (I wanted VTW to support them) and we all agreed it'd make tmux and screen essentially unusable.
- csdvrx 8y agosixel work under tmux and screen. Check my repository https://github.com/csdvrx https://github.com/csdvrx which is just cloned from existing branch by arakiken I added screenshots of gnuplot running under both tmux and screen, using msys2 and mlterm A vectorial support would be nice, but adding svg and a custom format like for iterm may better: Tektronix 4010 graphics is not as widely supported as sixel, and it may be a better start from scratch.
- vngzs 8y agoLink for the impatient: https://github.com/csdvrx/sixel-gnuplot/blob/8c3750a68ab6d1fc589cbe8edcc421019a385378/inside-tmux.jpg https://github.com/csdvrx/sixel-gnuplot/blob/8c3750a68ab6d1f...
- rbanffy 8y agoHow does it account for character width? Isn't a sixel a 1-pixel wide, 6-pixel tall bitmap? Does an actual DEC terminal round them to the next character boundary? Can you write text to a line that started with sixels? Can you write sixels after outputting some characters in the same line? How does a vertical screen partition look like? Are sixel graphics compressed when the terminal is in 132-column mode? I saw this video of an actual VT-320 terminal displaying sixel graphics: https://www.youtube.com/watch?v=0SasrQ7pnbA https://www.youtube.com/watch?v=0SasrQ7pnbA. Someone should check what the behavior is under tmux and screen (at least). The person also has REGIS and 4014: https://www.youtube.com/watch?v=afNuDH7QpYA https://www.youtube.com/watch?v=afNuDH7QpYA and https://www.youtube.com/watch?v=kIF0sXQn0RI https://www.youtube.com/watch?v=kIF0sXQn0RI
- e12e 8y agoAnyone know if there's been any work to support libsixel in libvte?