Skip to content

[Feature request] SIXEL Support #552

@Vinfall

Description

@Vinfall

Is your feature request related to a problem? Please describe.

QTerminal seems to be missing SIXEL support.

I'm trying to use lsix, a Bash script using ImageMagick to show thumbnails in terminal using sixel graphics, and it throws a warning about missing libsixel support:

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: ^[[?1;2c

Manually running the suggested command convert foo.jpg -geometry 800x480 sixel:- only shows random ASCII characters. I've installed libsixel and libsixel-util from package manager (Void glibc, if that matters) and manually run img2sixel foo.jpg provided by libsixel have similar output, hence the issue.

Describe the solution you'd like

Support that if possible, lsix README mentions that Your Terminal must support Sixel graphics which may be useful for a preliminary judgement on this. It talks about xterm or standard libvte based terminals but I really have no clue what's the case of QTerminal.

Describe eventual alternatives you've considered

A wontfix tag is also appreciated if support is not possible. I just want to figure out the problem.

Context

A unofficial mirror of the original sixel is available at https://github.com/saitoha/sixel.
A SIXEL encoder/decoder implementation derived from kmiya's sixel is available at https://github.com/saitoha/libsixel.

I have no idea it's related to qterminal or qtermwidget, and I apologize if I report this in the wrong place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions