version 5 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
XScreenSaver |
|
|
2 |
!!!XScreenSaver |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
ENVIRONMENT |
|
|
8 |
BUGS |
|
|
9 |
TO DO |
|
|
10 |
SEE ALSO |
|
|
11 |
COPYRIGHT |
|
|
12 |
AUTHOR |
|
|
13 |
---- |
|
|
14 |
!!NAME |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
vidwhacker - grab images and apply random filters to them |
|
|
18 |
!!SYNOPSIS |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__vidwhacker__ [[-display ''host:display.screen''] |
|
|
22 |
[[-root] [[-verbose] [[-stdin] [[-stdout] [[-delay seconds] |
|
|
23 |
[[-directory ''directory''] |
|
|
24 |
!!DESCRIPTION |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
The ''vidwhacker'' program grabs an image from disk, or |
|
|
28 |
from the system's video input, then applies random image |
|
|
29 |
filters to it, and displays the result. The |
|
|
30 |
''vidwhacker'' program does not terminate until |
|
|
31 |
killed. |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
It depends heavily on the various PBM tools (e.g., |
|
|
35 |
ppmrelief(1).) |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
Selection of random image files is done by running the |
|
|
39 |
xscreensaver-getimage-file(1) program. Capture of |
|
|
40 |
video frames (if requested) is done by running the |
|
|
41 |
xscreensaver-getimage-video(1) program. The options |
|
|
42 |
of whether to do video, and which directory to search for |
|
|
43 |
images, are specified in the ''~/.xscreensaver'' |
|
|
44 |
file. |
|
|
45 |
!!OPTIONS |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
''vidwhacker'' accepts the following |
|
|
49 |
options: |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
__-root__ |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
Draw on the root window. This is the default. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
__-verbose__ |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
Print diagnostics. |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
__-stdin__ |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
Instead of grabbing an image from disk or video, read an |
|
|
68 |
image to maniupulate from stdin. This image must be in |
|
|
69 |
ppm(5) format. The program will still perform |
|
|
70 |
repeated random image transformations, but it will always |
|
|
71 |
use this one image as its starting point. |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
__-delay__ ''seconds'' |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
How long to sleep between images. Default 5 seconds (the |
|
|
78 |
actual elapsed time is significantly longer, due to |
|
|
79 |
processing time.) |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
__-stdout__ |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
Instead of displaying the image on a window or on the root, |
|
|
86 |
write the new image on stdout, and exit. |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
__-directory__ ''directory'' |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
Use this directory instead of the __imageDirectory__ |
|
|
93 |
specified in the ''~/.xscreensaver'' file. |
|
|
94 |
!!ENVIRONMENT |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
__DISPLAY__ |
|
|
98 |
|
|
|
99 |
|
|
|
100 |
to get the default host and display number. |
|
|
101 |
|
|
|
102 |
|
|
|
103 |
__XENVIRONMENT__ |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
to get the name of a resource file that overrides the global |
|
|
107 |
resources stored in the RESOURCE_MANAGER |
|
|
108 |
property. |
|
|
109 |
!!BUGS |
|
|
110 |
|
|
|
111 |
|
|
|
112 |
It's slow. |
|
|
113 |
!!TO DO |
|
|
114 |
|
|
|
115 |
|
|
|
116 |
It might be interesting to rewrite this to use |
|
|
117 |
gimp(1) plugins instead of the pbm tools. It probably |
|
|
118 |
wouldn't be any faster, but there would be a wider variety |
|
|
119 |
of effects available. |
|
|
120 |
!!SEE ALSO |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
X(1), xscreensaver(1), |
|
|
124 |
xscreensaver-getimage-file(1), |
|
|
125 |
xscreensaver-getimage-video(1), xv(1), |
|
|
126 |
ppmtogif(1), cjpeg(1) |
|
|
127 |
!!COPYRIGHT |
|
|
128 |
|
|
|
129 |
|
|
|
130 |
Copyright 1998-2001 by Jamie Zawinski. Permission to use, |
|
|
131 |
copy, modify, distribute, and sell this software and its |
|
|
132 |
documentation for any purpose is hereby granted without fee, |
|
|
133 |
provided that the above copyright notice appear in all |
|
|
134 |
copies and that both that copyright notice and this |
|
|
135 |
permission notice appear in supporting documentation. No |
|
|
136 |
representations are made about the suitability of this |
|
|
137 |
software for any purpose. It is provided |
|
|
138 |
!!AUTHOR |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
Jamie Zawinski |
|
|
142 |
---- |