aboutsummaryrefslogtreecommitdiff
path: root/doc/im.1.scd
blob: ec64aa94527cbbe16da099484f0fb825b36750da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
im(1)

# NAME

im - a simple image viewer

# SYNOPSIS

*im* _filename_

# DESCRIPTION

im is a image viewer written in GTK+. It can open any image file 
supported by GdkPixbuf library, use *-f* flag to print the list of image 
formats supported by GdkPixbuf.


# MODES

im supports two image display modes, *Fit* and *Zoom*. 


The default mode *Fit* will resize the image to fit inside the current window 
while maintaining the aspect ratio.


Zoom mode let's you zoom and pan (scroll) the zoomed-in image.

# KEY BINDINGS

im has separate key bindings for both *Fit* and *Zoom* mode.

## FIT MODE

	*j*, *l*, *n*, *<Down>*, *<Right>*          Next image

	*k*, *h*, *p*, *<Up>*, *<Left>*             Previous image

## ZOOM MODE

	*j*, *<Down>*                         Scroll down

	*k*, *<Up>*                           Scroll up

	*h*, *<Left>*                         Scroll left

	*l*, *<Right>*                        Scroll right

	*J*, *L*, *<S-Down>*, *<S-Right>*         Next image

	*K*, *H*, *<S-Up>*, *<S-Left>*            Previous image

## ANY MODE

	*+*, *<C-ScrollWheelUp>*              Zoom-in by 10% and switch to *Zoom* mode

	*-*, *<C-ScrollWheelDown>*            Zoom-out by 10% and switch to *Zoom* mode

	*=*                                 Reset zoom to 100% and switch to *Zoom* mode

	*w*                                 Switch to *Fit* mode

	*q*                                 Quit

# SEE ALSO

*sxiv*(1), *feh*(1)