1 .TH spiv 1 2013 GFXprim "Simple yet Powerful Image Viewer"
4 spiv \- Simple yet Powerful Image Viewer
10 is a fast, lightweight and minimalistic image viewer build on the
11 top of the GFXprim library.
13 Spiv supports wide range of image formats, currently supported are
14 JPEG, PNG, GIF, BMP, TIFF, PSP, PSD, PNM, PCX, JPEG2000 and CBZ
15 (as well general ZIP archives with images), and more will come in
18 Spiv supports variety of video backends (via GFXprim backends)
19 currently these are X11, Linux Framebuffer, SDL and AAlib. Spiv also
20 supports wide range of backend pixel types from 1bit Grayscale to 32bit RGB
21 with optional Floyd-Steinberg dithering (even, for example, from RGB888 to RGB565).
23 Spiv implements feh-like image actions, which are short shell scripts with
24 printf-like modifiers.
27 below for further information.
33 Move to the next image
35 Move to the prev image
37 Move to the start of directory
39 Move to the end of directory
41 Move to the first image
43 Move to the last image
45 Rotate by 90 degrees clockwise
47 Rotate by 90 degrees counterclockwise
49 Toggle fixed, resizable window
51 Turn on/off downscale when image is larger than win
53 Turn on/off upscale when image is smaller than win
65 Zoom out by 50% (by 10% with Shift)
67 Zoom in by 50% (by 10% with Shift)
69 Resize to the image size
71 Resize to a half of the image size
73 Resize to one third of the image size
75 Resize to one ninth of the image size
77 Resize to one tenth of the image size
79 Resize twice of the image size
81 Resize three times of the image size
83 Move image by 10px up (by 1 with Shift)
85 Move image by 10px down (by 1 with Shift)
87 Move image by 10px left (by 1 with Shift)
89 Move image by 10px right (by 1 with Shift)
91 Change to next resampling method
93 Change to prev resampling method
95 Toggle low pass filter
105 .B \-i, \-\-show\-info
106 Show image info such as filename, size, etc...
108 .B \-\-font\-path=value
109 Path to TTF font to be used in GUI
111 .B \-\-font\-height=value
112 TTF font height in pixels
114 .B \-p, \-\-show\-progress
115 Show progress bar when loading/resampling/... images
117 .B \-s=value, \-\-slideshow\-delay=value
118 Delay between images in seconds (float) for slideshow
120 .B \-d, \-\-dithering
121 Turn on Floyd\-Steinberg dithering
123 .B \-o=value, \-\-orientation=value
124 Orientation, one of 0, 90, 180, 270
126 .B \-f, \-\-full\-screen
129 .B \-b=value, \-\-backend\-init=value
130 Backend init string, set it to 'help' for more info
134 .B \-w=value, \-\-window\-size=value
135 Window size, resizeable (\-wr) or fixed (\-wf)
137 .B \-z=value, \-\-zoom\-strategy=value
138 Zoom strategy, none (\-zn), upscale (\-zu), downscale (\-zd) or both (\-zb)
140 .B \-m=value, \-\-max\-win\-size=value
141 Window maximal size, 800x600 for example
145 .B \-1=value, \-\-action\-1=value
147 .B \-2=value, \-\-action\-2=value
149 .B \-3=value, \-\-action\-3=value
151 .B \-4=value, \-\-action\-4=value
153 .B \-5=value, \-\-action\-5=value
155 .B \-6=value, \-\-action\-6=value
157 .B \-7=value, \-\-action\-7=value
159 .B \-8=value, \-\-action\-8=value
161 .B \-9=value, \-\-action\-9=value
163 .B \-0=value, \-\-action\-10=value
164 Sets command line for action 1\-10
169 Turns on cpu and wall clock measurement (printed to stdout)
171 .B \-e=value, \-\-backend\-emulation=value
172 Emulate different backend pixel type (G1, G2, RGB555, ...)
175 Prints spiv man page to stdout
176 .SH CONFIGURATION FILE
177 Configuraton file has simple key = value syntax, keys without values are written just as key.
178 Lines started with # are comments.
179 Keys are grouped in namespaces, namespace block is started
180 by [NameSpace] and continues until next namespace.
185 Show image info such as filename, size, etc...
188 Path to TTF font to be used in GUI
191 TTF font height in pixels
194 Show progress bar when loading/resampling/... images
196 .B SlideshowDelay=value
197 Delay between images in seconds (float) for slideshow
200 Turn on Floyd-Steinberg dithering
203 Orientation, one of 0, 90, 180, 270
209 Backend init string, set it to 'help' for more info
214 Window size, resizeable (-wr) or fixed (-wf)
216 .B ZoomStrategy=value
217 Zoom strategy, none (-zn), upscale (-zu), downscale (-zd) or both (-zb)
220 Window maximal size, 800x600 for example
243 Sets command line for action 1-10
248 Turns on cpu and wall clock measurement (printed to stdout)
250 .B BackendEmulation=value
251 Emulate different backend pixel type (G1, G2, RGB555, ...)
253 Configuration is loaded from /etc/spiv.conf
254 then ~/.spiv and overriden by command line parameters.
257 Actions are short shell scripts with printf-like modifiers, the
258 modifiers are substituted to current image path, name, etc. and executed
259 by pressing function keys).
261 Actions could be set via command line parameters or written into the
262 configuration file and support following modifiers:
266 Path to current image
269 Shell escaped path to current image
272 Current image filename without extension
275 Shell escaped image filename without extension
278 Current image file extension
281 .B Shows all jpeg images in current directory
286 .B Shows all images stored in zip file
291 .B Shows all loadable images in current directory
296 .B Runs slideshow with 5 second delay
301 .B Copies currently loaded image into directory 'sorted/' on pressing F1
303 spiv -1 'cp %F sorted' images/
306 .B Emulates 1-bit Grayscale display and turns on Floyd-Steinberg dithering
308 spiv -e G1 -d images/
311 .B Runs slideshow using X root window as backend window
313 spiv -b 'X11:use_root' -t 10 images/
316 .B Same as above but works in KDE
319 spiv -b 'X11:create_root' -t 10 images/
322 Bugs happen. If you find one, report it on the GFXprim mailing list at
325 Spiv is developed by Cyril Hrubis <metan@ucw.cz>
327 GFXprim was/is developed by:
330 Cyril Hrubis <metan@ucw.cz>
332 Jiri "BlueBear" Dluhos <jiri.bluebear.dluhos@gmail.com>
334 Tomas Gavenciak <gavento@ucw.cz>