It would be nice to be able to simply `cat image.six` (or probably more often `img2sixel image.jpg |cat`?) and get the image displayed right inside Konsole. Xterm already has support for Sixel (if launched `xterm -xrm "XTerm*decTerminalID: vt340" -xrm "XTerm*numColorRegisters: 256"`).
Well at some point I wonder if we're trying to do too much in a terminal... the images look good in xterm though.
> Well at some point I wonder if we're trying to do too much in a terminal...
Me too :)
You might find a few probably interesting thoughts in the VTE counterpart of this feature request at https://bugzilla.gnome.org/show_bug.cgi?id=729204, in particular in comment_15 thereof.
I do not think adding this feature is too much.
As xterm already supports it and it has only one MB total in installed package size. I think adding this is very useful, it allows building console applications that can handle captures without relying on the xserver and also works over ssh.
*** This bug has been confirmed by popular vote. ***
I like this, because unlike many image extensions, this is based on an actual industry standard, it's supported by DEC VTs as well as several Unix terminal emulators (xterm, mlterm, active work in VTE) and there are quite a few applications now that use it.
I would tend to agree with the point in the VTE discussion that it's better to think of a general way to implement images and use Sixel and Sixel-enabled appliations as the test case, rather than supporting Sixel specifically.
https://invent.kde.org/utilities/konsole/-/merge_requests/517 has the basics.
Sixel is a horrible, horrible format, for the record. And a terminal is no place for images, images are per definition graphical, but it isn't that hard for at least basic support.
Theoretical "proper" support with reflowing etc. is basically impossible, just see how horribly slow xterm gets in VT340 mode (and that is still with a 1000px limit). But implementing enough to enable what people usually use it for should be feasible.
This was just done by Matan Ziv-Av with https://invent.kde.org/utilities/konsole/-/merge_requests/594 for Konsole 22.04!