Draw a graph, open a png image
Hello. I need to generate graphics and present them. I would like in a box, open an image with framebuffer, for example.
I'd like to add the display of images at some point but demand for this is low so it's not high on the list.
I.e. currently, tview doesn't support graphics.
Would be nice if it did.
Hi, does this mean rendering an Image like ueberzug? or another way?
there has been some work done for a pure go implementation of ueberzug Link Although the creator says its "half-ass" it is useable and maybe some improvements can be made too. It uses child windows (X Server) under the hood. I have used it in gomp although the implementation isn't very robust making a primitive out of it is possible. I would like to know your views on this. @rivo
Not really sure that the uberzug GitHub page provides a good explanation of what exactly it does. But it sounds to me like it's using some X11 trickery to display images. I don't think tview will ever go that way. It's supposed to be platform-independent, at least to the extent that tcell is platform-independent. And it's also supposed to stay within the terminal so you can, for example, use a tview application over an SSH connection.
What I meant above was using primitive UTF-8 characters along with some colour information to roughly display an image. Something along the lines of this: https://justine.lol/printimage.html