aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-02-16 17:54:22 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-02-16 21:01:38 +0000
commit4eaa1c89aefb4ebb0cc5aa40613a555e6d250ed0 (patch)
treedead142317480ad2fbae18e929c2baa2be1e64c2 /doc
parentb1f7fe555c5a7d30b03398f6f3c23675e568e3ac (diff)
downloadimv-4eaa1c89aefb4ebb0cc5aa40613a555e6d250ed0.tar.gz
Add customisable image resizing behaviour
Two new flags: -w and -W enable resizing and recentering, respectively. Also add an 'autoresize' config variable to control this behaviour. Fixes #122
Diffstat (limited to 'doc')
-rw-r--r--doc/imv.1.txt6
-rw-r--r--doc/imv.5.txt5
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/imv.1.txt b/doc/imv.1.txt
index 07167fd..6c2b45c 100644
--- a/doc/imv.1.txt
+++ b/doc/imv.1.txt
@@ -60,6 +60,12 @@ Options
*-u* <linear|nearest_neighbour>::
Set upscaling method used by imv.
+*-w*::
+ Enable automatic resizing of the window to fit each image.
+
+*-W*::
+ Enable automatic resizing and recentering of the window to fit each image.
+
*-x*::
Disable looping of input paths.
diff --git a/doc/imv.5.txt b/doc/imv.5.txt
index 36be08d..e323995 100644
--- a/doc/imv.5.txt
+++ b/doc/imv.5.txt
@@ -24,6 +24,11 @@ Options
The *[options]* section accepts the following settings:
+*autoresize* = <none|resize|recenter>::
+ Sets the resizing behaviour when changing image. 'none' does nothing, and
+ is the default. 'resize' will resize the window to fit the image.
+ 'recenter' will resize and recenter the window.
+
*background* = <hex-code|'checks'>::
Set the background in imv. Can either be a 6-digit hexadecimal colour code,
or 'checks' for a chequered background. Defaults to '000000'