diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2016-01-15 16:16:10 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2016-01-15 16:16:10 +0000 |
commit | 58fe28b650dfcdd3efe78fb0559cab5b7e811bb5 (patch) | |
tree | 73d290727b720e39b36c8165e1ea9202374726f3 /doc/imv.1 | |
parent | efa33ab844a09f05907a5de2d66ed7331c4f8ec9 (diff) | |
parent | 1ae8a7fe6030771352e347e7564639ea181802ba (diff) | |
download | imv-58fe28b650dfcdd3efe78fb0559cab5b7e811bb5.tar.gz |
Merge pull request #76 from czarkoff/loader
Loading image data from standard input
Diffstat (limited to 'doc/imv.1')
-rw-r--r-- | doc/imv.1 | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -21,12 +21,8 @@ It supports a wide variety of image file formats, including animated gif files. .Nm reloads the current image if it detects changes to the file. .Pp -When run with argument -.Sq - , .Nm -reads the list of images from standard input. -.Pp -The options are as follows: +accepts following flags: .Bl -tag -width Ds .It Fl a Default to showing images at actual size. @@ -66,6 +62,17 @@ Setting this to zero disables slideshow mode, which is the default. .It Fl u Use nearest neighbour resampling. Recommended for pixel art. .El +.Ss Reading from standard input +When run with argument +.Sq - , +.Nm +reads image from standard input. +Argument +.Sq - +may occur among other arguments, but only once. +.Pp +If no arguments supplied, reads list of files from standard input. +.Pp .Sh CONTROLS .Bl -tag -width Ds .It Aq Cm left mouse button @@ -111,6 +118,13 @@ Increase slideshow delay by one second .It Cm T Decrease slideshow delay by one second. When delay is zero, slideshow mode is disabled. +.Sh EXAMPLES +Load all files from directory +.Pa dir : +.Pp +.Dl $ ls dir | imv +or +.Dl $ ls dir | xargs imv .Sh LEGAL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software |