mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #729] Draw a graph, open a png image #533
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#533
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OsvaldoTCF on GitHub (Apr 30, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/729
Hello. I need to generate graphics and present them.
I would like in a box, open an image with framebuffer, for example.
@rivo commented on GitHub (Jun 10, 2022):
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,
tviewdoesn't support graphics.@Awesome-Sauces commented on GitHub (Jul 14, 2022):
Would be nice if it did.
@akurdunkar commented on GitHub (Oct 2, 2022):
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
@rivo commented on GitHub (Oct 2, 2022):
Not really sure that the
uberzugGitHub 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 thinktviewwill ever go that way. It's supposed to be platform-independent, at least to the extent thattcellis platform-independent. And it's also supposed to stay within the terminal so you can, for example, use atviewapplication 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