#libsixel

Jan Antošjanantos@f.cz
2026-01-21

#sixels do “compress” image data by its nature design, #libsixel is highly optimized, on the other side #kittyterminal protocol

Direct transmission (t=d):
RGB/RGBA -> base64 … huge data transfer
RGB/RGBA -> PNG -> base64 … better in size, significant overhead
RGB/RGBA -> zlib compression -> base64 … also significant overhead
RGB/RGBA -> PNG -> zlib compression -> base64 .. even bigger overhead

Simple file transmission (t=f)
Client needs access to file … Forget about #ssh

Temporary file transmission (t=t)
Client needs access to /tmp, /dev/shm … forget about ssh

Shared memory object (t=s)
Client needs to have access to POSIX shared memory object/Windows named shared memory object … forget about ssh.

So yes, kitty is “superior” protocol with superior performance, except it works as “superior” only on localhost and event that is questionable at least in case of #brow6el (ok I acknowledge thats this is very specific “hack”)

🦠Toxic Flange (Gurjeet)🔬⚱️🌚Toxic_Flange@infosec.exchange
2025-12-22

Well this is an incredibly cool demo in Windows Terminal using #libsixel #Sixel

youtu.be/004ng70swbY?si=nqQqz0

#Terminal

2024-10-03

There is a fun with #Linux and also when ancient technology (#sixel) meet modern needs. Also great reusability of Linux tools helps a lot. About 5 minutes of fun and here is very hackish PDF viewer for terminal emulator with sixel support, thanks to #popplerutils and #libsixel, the rest is just wrapping 46 lines of Linux shell.

David Cantrell 🏏DrHyde@fosstodon.org
2023-10-01

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst