Penguin
Annotated edit history of ppmfade(1) version 4, including all changes. View license author blame.
Rev Author # Line
1 perry 1 PPMFADE
2 !!!PPMFADE
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 EXAMPLES
8 SEE ALSO
9 AUTHOR
10 ----
11 !!NAME
12
13
14 ppmfade - generate a transition between two image files using special effects.
15 !!SYNOPSIS
16
17
18 __ppmfade__ [[ __-f__ ''first.ppm'' ] [[ __-l__
19 ''last.ppm'' ] [[
20 __-mix__|__-spread__|__-shift__|__-relief__|__-oil__|__-edge__|__-bentley__|__-block__
21 ] [[ __-base__ ''name'' ]
22 !!DESCRIPTION
23
24
25 This program generates a transition between either two input
26 images or between one input image and black. You can use the
27 30 intermediate images generated to show a smooth transition
28 between segments of a movie. The input and output images are
29 in the Portable Pixmap (PPM) format. If you specify both
30 input images, they should both be the same size. If you want
31 to fade from black to an image, specify only the last image.
32 If you want to fade from an image to black, specify only the
33 first image. __ppmfade__ names the resulting image files
34 ''base''__.__''nnnn'' __.ppm__, where
35 ''nnnn'' is a number varying between 0001 and 0030 and
36 ''base'' is what you specify with via the __-base__
37 option (default __fade__).
38
39
40 Another way to convert by steps from one image to another is
41 morphing. You can use __xmorph__ to do that.
42 !!OPTIONS
43
44
45 __-f first.ppm__
46
47
48 This is the image file (PPM format) to be used at the
49 beginning of the transition. If not specified, the fade will
50 start from black.
51
52
53 __-l last.ppm__
54
55
56 This is the image file (PPM format) to be used at the ending
57 of the transition. If not specified, the fade will end with
58 black.
59
60
61 __-mix__
62
63
64 The two images are superimposed with the brightness of the
65 first image decreasing from full to none and the brightness
66 of the final image increasing from none to full. The
67 transition is quadratic in brightness with faster transition
68 in the beginning and slower at the end.
69
70
71 __-spread__
72
73
74 The pixels in the first image will be moved (spread) further
75 and further from their original location and then moved into
76 the proper location in the final image. This is the default
77 transition.
78
79
80 __-shift__
81
82
83 The pixels in the first image will be shifted further and
84 further horizontally from their original location and then
85 moved into the proper location in the final
86 image.
87
88
89 __-relief__
90
91
92 The first image is faded to a Laplacian relief filtered
93 version of the first image. This is then faded to a
94 Laplacian relief filtered version of the second image and
95 finally faded to the final image.
96
97
98 __-oil__
99
100
101 The first image is faded to an
102
103
104 __-edge__
105
106
107 The first image is faded to an edge detected version of the
108 first image. This is then faded to an edge detected version
109 of the second image and finally faded to the final
110 image.
111
112
113 __-bentley__
114
115
116 The first image is faded to a
117
118
119 __-block__
120
121
122 The first image is defocused to small blocks. The small
123 blocks are converted to match a defocused version of the
124 last image. The block version of the last image is then
125 focused to the final image.
126
127
128 __-base__''name''
129
130
131 This forms part of the output filenames, as described
132 above.
133 !!EXAMPLES
134 __ppmfade -f teapot.ppm -l pyr.ppm__
135 Fade from teapot.ppm to pyr.ppm generating fade.0001.ppm
136 to fade.0030.ppm using the
137 __ppmfade -l teapot.ppm__
138 Fade from black to teapot.ppm generating fade.0001.ppm
139 to fade.0030.ppm.
140 __ppmfade -f teapot.ppm -base end__
141 Fade from teapot.ppm to black generating end.0001.ppm to
142 end.0030.ppm.
143 !!SEE ALSO
144
145
4 perry 146 tontsc(1), sgifade(1), smart_vfr(1), xmorph(1), ppm(5),
1 perry 147 !!AUTHOR
148
149
150 Wesley C. Barris (wesb@msc.edu)
151 Army High Performance Computing Research Center (AHPCRC)
152 Minnesota Supercomputer Center, Inc.
153 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.