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?
Asked
Active
Viewed 1.9k times
3 Answers
32
RedGrittyBrick
- 81,981
- 20
- 135
- 205
-
3I'd +10 this if I could... LOL! Good answer! – skub Jan 16 '12 at 00:10
-
`aview` is awesome! Is there any particular difference between the formats `.p[ngbp]m`? – Jan 16 '12 at 00:19
-
@hesse: [about .p{ngbp}m](http://en.wikipedia.org/wiki/Netpbm_format) and [converting them to/from jpeg etc](http://netpbm.sourceforge.net/doc/directory.html) – RedGrittyBrick Jan 16 '12 at 16:15
-
all I can say is YES. – Tris - archived Aug 18 '13 at 03:40
-
@RedGrittyBrick : Nice, but most screen can display colours today. *(this include ssh and ncurses)* – user2284570 Aug 02 '14 at 13:12
-
@user2284570: [libcaca?](http://caca.zoy.org/wiki/libcaca) (answer updated) – RedGrittyBrick Aug 02 '14 at 20:51
9
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/*
u1686_grawity
- 426,297
- 64
- 894
- 966
-1
there's also fbi if you have frame buffer enabled. IDK if it would work over SSH, but I can view pictures from TTY without having X enabled with it.
Rob
- 2,342
- 2
- 25
- 33
-
-
1Yeah. I know a lot more about what's going with my stuff than I did over a year ago. – Rob Aug 19 '13 at 15:42
