diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2019-08-25 13:58:49 +0200 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-08-25 21:35:15 +0100 |
commit | 498c35c28831cf89cc60a773a5c2513c97bc08a3 (patch) | |
tree | a706d16e5deaf2019d24830269986d437a61300b /doc | |
parent | cd67aca62d1c1169bb35e580e3f4d9ddf708235d (diff) | |
download | imv-498c35c28831cf89cc60a773a5c2513c97bc08a3.tar.gz |
Added crop scaling method
Added a method that scales and crop the image so that the image will
fill the whole window.
Also made viewport update respect the current scaling mode.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/imv.1.txt | 2 | ||||
-rw-r--r-- | doc/imv.5.txt | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/imv.1.txt b/doc/imv.1.txt index ad42658..4effc89 100644 --- a/doc/imv.1.txt +++ b/doc/imv.1.txt @@ -132,7 +132,7 @@ Commands can be entered by pressing *:*. imv supports the following commands: *toggle_playing*:: Toggle playback of the current image if it is an animated gif. -*scaling* <none|shrink|full|next>:: +*scaling* <none|shrink|full|crop|next>:: Set the current scaling mode. Setting the mode to 'next' advances it to the next mode in the list. diff --git a/doc/imv.5.txt b/doc/imv.5.txt index 5b26c54..5942e67 100644 --- a/doc/imv.5.txt +++ b/doc/imv.5.txt @@ -63,10 +63,11 @@ The *[options]* section accepts the following settings: *recursively* = <true|false>:: Load input paths recursively. Defaults to 'false'. -*scaling_mode* = <none|shrink|full>:: +*scaling_mode* = <none|shrink|full|crop>:: Set scaling mode to use. 'none' will show each image at its actual size. 'shrink' will scale down the image to fit inside the window. 'full' will both scale up and scale down the image to fit perfectly inside the window. + 'crop' willl scale and crop the image to fill the window. Defaults to 'full'. *slideshow_duration* = <duration>:: |