command-line and image viewing
Author Message
Posted : Wed, 12 November 2008 03:27:43
Subject : command-line and image viewing
Two questions actually: 1) Lets say I've got X11 installed, but no windows manager. Is there a good image viewer I can used that was intended for use in that kind of environment? (Especially good if it doesn't require a mouse.) 2) Lets say I don't even have X11. Is there a good image viewer that renders images as ascii text? I've used cacaview -- but is that really the best there is? I imagine it is not an easy task (converting images to text), but all my images are either unrecognizable or barely recognizable when viewed with cacaview, even if I play with the gamma settings.
tophandcwby
Posted : Mon, 17 November 2008 17:42:53
Subject : command-line and image viewing
1. I use feh as a command line image viewer. If I'm trying to keep the install to a minimum, I only install the X-client package, and remotely log in to view the images. 2. Never thought about this option.
Johannes Truschnigg
Posted : Sat, 22 November 2008 21:54:03
Subject : command-line and image viewing
You may want to check out http://aa-project.sourceforge.net/aview/ for (2).
polgair
Posted : Sun, 23 November 2008 19:39:38
Subject : Re: command-line and image viewing
1) xv, gqview or xzgv would both work. Gqview is exclusively an x-app, where is xzgv is based on zgv, which is an svgalib app. I have an idea, but I'm not sure if it will work. 2) Using zgv you could even do pictures on freebsd or linux console via sdl or svgalib. However, to use ascii for display, it is possible to use sdl and then invoke the aalib to display jpgs as ascii art on console. To make sdl use aalib: Building SDL: make distclean; ./configure --enable-video-aalib ; make install Running your app: set the environment variable SDL_VIDEODRIVER to "aalib" To make zgv use sdl as a backend, download the source, change BACKEND=SVGALIB to BACKEND=SDL in config.mk, follow the instructions and go to town. Good luck