3 ms·
Not quite the same. iTerm provides escape sequence to inline base64-encoded images in a common format (e.g. PNG)[1] whereas Sixel is an it's own image format.
by xzfc 8y ago
Not quite the same. iTerm provides escape sequence to inline base64-encoded images in a common format (e.g. PNG)[1] whereas Sixel is an it's own image format.
I find iTerm's approach is more simple yet more powerful: better compression, thus faster; no dithering, thus better image quality; it's even have GIF support. Sixel is an 30 year protocol designed for matrix printers, i'm not sure why we should stick to it. I think terminal emulators should adopt iTerm escape sequence rather than Sixel.
Aside of iTerm, image inlining is supported in Terminology[2]. Not sure about compatability with iTerm however.
[1]: https://www.iterm2.com/documentation-images.html https://www.iterm2.com/documentation-images.html
[2]: https://www.enlightenment.org/about-terminology.md https://www.enlightenment.org/about-terminology.md
- osiutino 8y agoI used the imgcat trick in my shell client project (https://github.com/u59u75u65/hkgbox-rs https://github.com/u59u75u65/hkgbox-rs). I was looking for a cross platform solution, but by the time I worked on it I didn't know Sixels. One of the things that is cool about imgcat is that it handles GIF animation by default.