forked from kohler/gifsicle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gifview.1
312 lines (307 loc) · 5.88 KB
/
gifview.1
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
.\" -*- mode: nroff -*-
.ds V 1.90
.ds E " \-\-
.if t .ds E \(em
.de Op
.BR "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
..
.de Oa
.IR "\fB\\$1\& \|\fI\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
..
.de Qo
.RB ` "\\$1" "'\\$2"
..
.de Sp
.if n .sp
.if t .sp 0.4
..
.de Es
.Sp
.RS 5
.nf
..
.de Ee
.fi
.RE
.PP
..
.TH GIFVIEW 1 "11 July 2017" "Version \*V"
.SH NAME
gifview \- displays GIF images and animations on the X window system
.SH SYNOPSIS
.B gifview
\%[\fB--display\fP \fIdisplay\fP]
\%[options]
\%[filenames and frames].\|.\|.
'
.SH DESCRIPTION
.B gifview
displays GIF image files on workstations and terminals running the X Window
System.
.B gifview
understands multi-image GIFs, which can be displayed either as slideshows
or as animations.
'
.SH INTERACTION
.B gifview
windows recognize several keystrokes and button commands. Many of them are
only useful for multi-image GIFs.
.TP 12
.RB "Space or " n
'
Go to the next frame.
.TP
.BR b " or " p
Go to the previous frame.
.TP
.BR r " or " <
Go to the first frame.
.TP
.BR >
Go to the last frame.
.TP
ESC
Stop the animation.
.TP
.BR s " or " a
Toggle between animation and slideshow mode.
.TP
.BR u
Toggle between normal and unoptimized mode.
.TP
Backspace
'
Delete this window.
.TP
.B q
Quit
.BR gifview .
'
.PP
Left-clicking on a window goes to the next frame; right-clicking on a
window deletes that window.
'
.SH COMMAND LINE
.BR gifview 's
command line consists of
.IR "GIF input files"
and
.IR options .
Most options start with a dash (\-) or plus (+); frame selections, a kind
of option, start with a number sign (#). Anything else is a GIF input file.
.PP
.B gifview
displays one window for each GIF input file you specify. If no GIF input
file is given, or you give the special filename `\-', it reads from the
standard input.
'
.SH OPTIONS
.PD 0
.TP 5
.Op \-\-animate ", " \-a
'
Animate multi-image GIFs by default. Normally, multi-image GIFs first
appear in slideshow mode. You can always use the
.RB ` a '
keystroke to toggle between modes. This option has a converse,
.Qo \-\-no\-animate
or
.Qo +a .
'
.Sp
.TP 5
.Op \-\-unoptimize ", " \-U
'
Display multi-image GIFs as ``unoptimized'', which shows a faithful
representation of what a user will see at each frame of an animation. See
.BR gifsicle (1)
for a more detailed description of unoptimization. This option has a
converse,
.Qo \-\-no\-unoptimize
or
.Qo +U .
GIFs are always displayed unoptimized in animation mode.
'
.Sp
.TP 5
.Oa \-d display
.TP
.Oa \-\-display display
'
Sets the X display to
.IR display .
This option must come before any GIF files.
'
.Sp
.TP 5
.Oa \-\-name name
'
Sets the application name under which resources are found, rather than
the default of "gifview". Since
.B gifview
itself does not use the resource database, this is mostly useful for
communication with your window manager.
'
.Sp
.TP 5
.Oa \-\-geometry geometry
'
Set the size and position of
.BR gifview 's
windows. This is a standard X option. At most one
.Op \-\-geometry
option can be given per window (that is, per input GIF file).
'
.Sp
.TP 5
.Oa \-\-title title
'
Sets the
.B gifview
window's title. The default is "gifview", followed by information about the
currently displayed file and frame.
'
.Sp
.TP 5
.Oa \-w window
.TP
.Oa \-\-window window
'
Display the next GIF input in an existing X window, instead of making a new
top-level window. This way, you can use
.B gifview
to display animated GIFs in a window you created with another program. The
.I window
argument should be an integer
.RB ( gifview
will use that window ID)
or `root'
.RB ( gifview
will use the root window).
'
.Sp
.TP 5
.Oa \-\-new\-window window
'
Display the next GIF input in a new child of an existing X window. This
child window will disappear when
.B gifview
exits. The
.I window
argument should be an integer
.RB ( gifview
will use that window ID)
or `root'
.RB ( gifview
will use the root window).
'
.Sp
.TP 5
.Op \-\-install\-colormap ", " \-i
'
Use a private colormap for each window (if you are using a PseudoColor
display). This avoids polluting the existing colormap, and may produce
better results if your colormap is full, but causes annoying colormap
flashing.
'
.Sp
.TP 5
.Oa \-\-background color
.TP
.Oa \-\-bg color
'
Set the background color, which is used
for transparent pixels.
'
.Sp
.TP 5
.Oa \-\-min\-delay delay
'
Set the minimum delay between frames to
.IR delay ,
which is measured in hundredths of a second. Default is 0.
'
.Sp
.TP 5
.Oa \-\-fallback\-delay delay
'
Set the frame delay of GIFs that do not specify a delay value
or have a delay of 0.
The final value is still subject to the value of \-\-min\-delay.
Like \-\-min\-delay,
.IR delay
is measured in hundredths of a second. Default is 0.
'
.Sp
.TP 5
.Op \-\-no\-interactive ", " \+e
'
Don't pay attention to mouse buttons or keystrokes.
'
.Sp
.TP 5
.Op \-\-memory\-limit lim
'
Cache at most
.I lim
megabytes of images in memory when animating. Default is 40.
'
.Sp
.TP 5
.Op \-\-help
'
Print usage information and exit.
'
.Sp
.TP
.Op \-\-version
'
Print the version number and some quickie warranty information and exit.
'
.PD
'
.\" -----------------------------------------------------------------
.SS Frame Selections
A frame selection tells
.B gifview
which frame to initially display from the current input file. They are
useful only for animations, as non-animated GIFs only have one frame. Frame
selections can only be displayed in slideshow mode.
.Sp
.PD 0
.TP 13
.BI # num
'
Select frame \fInum\fR. (The first frame is
.Qo #0 .
Negative numbers count backwards from the last frame, which is
.Qo #-1 .)
'
.TP 13
.BI # name
'
Select the frame named \fIname\fR.
.PD
.PP
If you give two or more frame selections, you will get one window per frame
selection.
'
.SH SEE ALSO
.BR gifsicle (1)
'
.SH BUGS
Please email suggestions, additions, patches and bugs to
'
.SH AUTHORS
.na
Eddie Kohler, [email protected]
.br
http://www.read.seas.harvard.edu/~kohler/
.PP
http://www.lcdf.org/gifsicle/
.br
The
.B gifsicle
home page.
'