elfmz / far2l

Linux port of FAR v2
GNU General Public License v2.0
1.8k stars 173 forks source link

Add sixel graphics support to far2l's internal terminal (at least in wx mode) #601

Open unxed opened 5 years ago

unxed commented 5 years ago

https://en.wikipedia.org/wiki/Sixel

Sixel is a way of converting images to terminal-friendly escape sequences. Can be used for previewing image files from inside far2l, etc.

elfmz commented 5 years ago

in wx mode its possible to see images in graphical mode, just need to write plugin (or port picture view, but not sure if its easier than write new plugin)

unxed commented 5 years ago

And as for remote mode with tty backend own plug in could send bitmaps as escape sequencies to be shown with local wx-based outer far2l :)

unxed commented 4 years ago

Different tty graphic solutions comparation:

https://github.com/dylanaraps/neofetch/wiki/Image-Backends

unxed commented 4 years ago

Wow, people at Microsoft are working on sixel graphics support in their terminal https://github.com/microsoft/terminal/issues/448

Same with GNOME terminal https://gitlab.gnome.org/GNOME/vte/-/issues/253

unxed commented 3 years ago

more about sixel graphics https://habr.com/ru/post/543594/

unxed commented 2 years ago

Alternative ways to implement graphic display in terminal: https://iterm2.com/documentation-images.html https://sw.kovidgoyal.net/kitty/graphics-protocol/

elfmz commented 2 years ago

this looks more interesting as allows full-quality graphics without extra hussle like in sixels

unxed commented 3 months ago

For reference: command line utility written in C++ which allows to draw images on terminals by using X11/wayland child windows, sixels, kitty and iterm2.

https://github.com/jstkdng/ueberzugpp