-
I want to create a proper ui with textual and was wondering if (and how) it is possible to render images in the terminal. Is there a way to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Textual itself doesn't have direct support for anything like that at the moment, although image support is on the roadmap. Meanwhile though there are options such as Rich Pixels that will turn images into |
Beta Was this translation helpful? Give feedback.
-
This is great! Thanks for the reference @davep. Is there perhaps interest to support raster graphics, as is made possible by e.g. the Terminal Graphics protocol? For example, instead of the image rendered into the terminal columns and rows, it can render images pixel-for-pixel in a terminal which supports the protocol It's pretty neat! P.s. The pixcat library is a good reference for how this might be integrated into a Rich / Textual module. |
Beta Was this translation helpful? Give feedback.
-
It would be REALLY nice to use |
Beta Was this translation helpful? Give feedback.
Textual itself doesn't have direct support for anything like that at the moment, although image support is on the roadmap. Meanwhile though there are options such as Rich Pixels that will turn images into
Rich
renderables. I used it it recently to quickly show low-res versions of regions maps from Second Life in the terminal.