From 498c35c28831cf89cc60a773a5c2513c97bc08a3 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Sun, 25 Aug 2019 13:58:49 +0200 Subject: 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. --- doc/imv.1.txt | 2 +- doc/imv.5.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') 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* :: +*scaling* :: 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* = :: Load input paths recursively. Defaults to 'false'. -*scaling_mode* = :: +*scaling_mode* = :: 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* = :: -- cgit v1.2.3