top | item 44297737

(no title)

ieee2 | 8 months ago

How are those images rendered in text UI?

discuss

order

ieee2|8 months ago

OK. Found it:

Displayed using Sixels or the Kitty protocol. Supported input formats are PNG, JPEG, BMP, GIF (stb_image), WebP (jebp) and SVG (nanosvg). Opt-in; edit the config to enable it.

dotancohen|8 months ago

Inline using sixel. Go look at the screenshots, it's not bad.

ieee2|8 months ago

Yes, screenshots are nice. That's why I asked.

ho_schi|8 months ago

btw.

Rendering images or movies on the TTY is common.

fbida: https://www.kraxel.org/blog/linux/fbida/

mpv: https://mpv.io/

Fbida sometimes need the -d option pointing to /dev/drm/something, when using screen or tmux.

MPV required for years -vo=drm on the TTY but since some months it always works. Nice improvement :)

A display server is not needed.

ieee2|8 months ago

It is first time I saw it today. Thanks!