elfmz / far2l

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

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

Open unxed opened 4 years ago

unxed commented 4 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 4 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 4 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 3 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 1 year ago

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

elfmz commented 1 year ago

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