diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-02-16 17:54:22 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-02-16 21:01:38 +0000 |
commit | 4eaa1c89aefb4ebb0cc5aa40613a555e6d250ed0 (patch) | |
tree | dead142317480ad2fbae18e929c2baa2be1e64c2 /doc | |
parent | b1f7fe555c5a7d30b03398f6f3c23675e568e3ac (diff) | |
download | imv-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.txt | 6 | ||||
-rw-r--r-- | doc/imv.5.txt | 5 |
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' |