19

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?

B. Marek
  • 309
  • 2
  • 3
  • 6

3 Answers3

32

Oh yes

enter image description here

If you prefer colour there's libcaca

RedGrittyBrick
  • 81,981
  • 20
  • 135
  • 205
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