Display and browse images efficiently in the terminal (github.com) 2 points by AnonymouX47 4y ago ↗ HN
[–] AnonymouX47 4y ago ↗ Hello!I've just released a new version of `term-image`. It's a Python package including a library, a CLI and a TUI for displaying and viewing/browsing images within a terminal.It currently supports a whole lot of features including:- Extensive API- Kitty graphics support- iTerm2 inline image support- Support for PIL images, file paths, URLs- Animations (even transparent ones)- Browsing image directories recursively- Automatic terminal support detectionDisplaying an image can be as simple as```from term_image.image import from_fileimage = from_file("path/to/image")image.draw()# ORprint(image)```and as extensive as possible...Links:- [Source](https://github.com/AnonymouX47/term-image)- [PyPI](https://pypi.org/project/term-image/)- [Docs](https://term-image.readthedocs.io/)The project is open to contributions and I welcome everyone with knowledge and/or experience that could benefit the project.Thank you very much!
1 comment
[ 4.5 ms ] story [ 9.4 ms ] threadI've just released a new version of `term-image`. It's a Python package including a library, a CLI and a TUI for displaying and viewing/browsing images within a terminal.
It currently supports a whole lot of features including:
- Extensive API
- Kitty graphics support
- iTerm2 inline image support
- Support for PIL images, file paths, URLs
- Animations (even transparent ones)
- Browsing image directories recursively
- Automatic terminal support detection
Displaying an image can be as simple as
```
from term_image.image import from_file
image = from_file("path/to/image")
image.draw()
# OR
print(image)
```
and as extensive as possible...
Links:
- [Source](https://github.com/AnonymouX47/term-image)
- [PyPI](https://pypi.org/project/term-image/)
- [Docs](https://term-image.readthedocs.io/)
The project is open to contributions and I welcome everyone with knowledge and/or experience that could benefit the project.
Thank you very much!