3 ms·
> I actually like eshell because I can "cat someImage.png" and it will literally inline the image for me on the terminal.[1] I don't think this is limited to es
by msla 9y ago
> I actually like eshell because I can "cat someImage.png" and it will literally inline the image for me on the terminal.[1] I don't think this is limited to eshell, either. I just don't know how to do it in other terminals.
xterm supports sixels, which do real graphics:
https://github.com/saitoha/libsixel https://github.com/saitoha/libsixel
The img2sixel program does what you want in terms of catting an image to the screen and having it show up correctly.
(Scroll down on that page to get to the per-terminal documentation.)
- taeric 9y agoThanks for the link! My first attempt at finding this by searching failed, so I left out any links of my own.