ArthurSonzogni / FTXUI

:computer: C++ Functional Terminal User Interface. :heart:
MIT License
6.73k stars 401 forks source link

Add an image display component #782

Closed ljrrjl closed 9 months ago

ljrrjl commented 9 months ago

Hi, I think FTXUI might be able to display images on the command line, here's a simple implementation of mine. image-view-ftxui

ArthurSonzogni commented 9 months ago

Thanks!

@ljrrjl, adding some kind of support builtin into FTXUI would require adding dependencies on some image loading libraries. I don't believe this would benefits most users.

Maybe we can think about a FTXUI extension? Something similar to: https://github.com/ArthurSonzogni/FTXUI#libraries-for-ftxui

What do you think?

ljrrjl commented 9 months ago

Thanks for your reply, I am going to add this project to the dependency to display color images on the command line. When I'm done I'll submit a PR to add it to https://github.com/ArthurSonzogni/FTXUI#libraries-for-ftxui.