Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SIXEL support #717

Open
davidak opened this issue Mar 31, 2023 · 0 comments
Open

Add SIXEL support #717

davidak opened this issue Mar 31, 2023 · 0 comments

Comments

@davidak
Copy link

davidak commented Mar 31, 2023

Problem

The SIXEL format allows the terminal to display bitmap graphics. See https://en.wikipedia.org/wiki/Sixel for more information.

Some programs use it, like Kitten: https://mastodon.ar.al/@aral/110117697614227266

I tested if it works and it seem not.

[davidak@gaming:~]$ snow run lsix
Error: Your terminal does not report having sixel graphics support.

Please use a sixel capable terminal, such as xterm -ti vt340, or
ask your terminal manufacturer to add sixel support.

You may test your terminal by viewing a single image, like so:

convert  foo.jpg  -geometry 800x480  sixel:-

If your terminal actually does support sixel, please file a bug
report at http://github.com/hackerb9/lsix/issues

Please mention device attribute codes: ^[[?65;1;9c

[davidak@gaming:~]$ snow run imagemagick -- convert '/home/davidak/Downloads/fdce9e0c0e9ef948.jpg' -geometry 800x480 sixel:-

Proposal

It might be a nice feature for some people. I do not miss it tho.

When done, add an entry to https://www.arewesixelyet.com/, so people know.

Upstream issues for vte:

https://gitlab.gnome.org/GNOME/vte/-/issues/2084
https://gitlab.gnome.org/GNOME/vte/-/issues/253

So you can just wait for upstream to implement it or help them.

Prior Art (Optional)

See https://www.arewesixelyet.com/

Some terminals with support:

contour-terminal/contour#116
https://codeberg.org/dnkl/foot/releases/tag/1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant