diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2016-01-16 16:51:56 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2016-01-16 16:51:56 +0000 |
commit | 60a1969818b0d3ca43b5f4a50397435ccaa617dc (patch) | |
tree | 20d797b9fbaeabce3166956d2e6cefd7c3e0d3ee /doc/imv.1 | |
parent | c92edff1d0eca7d7394edc3583d87f8c962a8343 (diff) | |
parent | 1013c0cd8b3899cc8589e279d552428a3b0984bc (diff) | |
download | imv-60a1969818b0d3ca43b5f4a50397435ccaa617dc.tar.gz |
Merge pull request #79 from czarkoff/no_upscaling
Add third scaling mode: best fit
Diffstat (limited to 'doc/imv.1')
-rw-r--r-- | doc/imv.1 | 27 |
1 files changed, 24 insertions, 3 deletions
@@ -6,7 +6,7 @@ .Nd view images .Sh SYNOPSIS .Nm -.Op Fl adfhlru +.Op Fl adfhlrSsu .Op Fl b Ar color .Op Fl e Ar font:size .Op Fl n Ar position @@ -25,7 +25,8 @@ reloads the current image if it detects changes to the file. accepts following flags: .Bl -tag -width Ds .It Fl a -Default to showing images at actual size. +.Dq actual size +mode: show images at actual size. .It Fl b Ar color Set the background color. Either @@ -55,12 +56,21 @@ Start at specific position in image list. may be expressed as a number or as a path of an image. .It Fl r Recursively search input paths for files. +.It Fl S +.Dq perfect fit +mode: upscale or downscale image to fit window. +This is the default. +.It Fl s +.Dq best fit +mode: downscale image to fit window. +Images that are smaller then window are shown in actual size. .It Fl t Ar seconds Set the slideshow delay in seconds. Fractional numbers are accepted. Setting this to zero disables slideshow mode, which is the default. .It Fl u -Use nearest neighbour resampling. Recommended for pixel art. +Use nearest neighbour resampling. +Recommended for pixel art. .El .Ss Reading from standard input When run with argument @@ -113,6 +123,17 @@ Toggle gif playback. Step forward one frame (when playing gifs). .It Cm p Print current image path to stdout +.It Cm s +Switch scaling mode. +Available modes are: +.Dq actual size +.Pq don't scale images , +.Dq best fit +.Pq downscale images to fit window, but don't scale smaller images , +.Dq perfect fit +.Pq upscale or downscale images to fit window +.Pq default , +in this order. .It Cm t Increase slideshow delay by one second .It Cm T |