Is it possible to view images in a terminal?
18,947
Solution 1
If you prefer colour there's libcaca
Solution 2
The libcaca
library comes with img2txt
and cacaview
tools for this. In color.
One can watch movies through it as well:
mplayer -really-quiet -vo caca ~/Movies/*
Related videos on Youtube
Author by
B. Marek
Updated on September 18, 2022Comments
-
B. Marek over 1 year
I have ssh access to my web server. I have some image files there and I would like to see a preview of. Is there a tool that will help me? Is there a curses-based viewer that will approximate the picture?
-
skub over 12 yearsI'd +10 this if I could... LOL! Good answer!
-
Admin over 12 years
aview
is awesome! Is there any particular difference between the formats.p[ngbp]m
? -
Tris - archived over 10 yearsall I can say is YES.
-
user1686 over 10 yearsNo, it wouldn't, because SSH does not have a framebuffer.
-
Rob over 10 yearsYeah. I know a lot more about what's going with my stuff than I did over a year ago.
-
user5249203 almost 10 years@user2284570: libcaca? (answer updated)