1Ppmfade User Manual(0) Ppmfade User Manual(0)
2
3
4
6 ppmfade - generate a transition between two image files using special
7 effects
8
9
11 ppmfade [-f first.ppm] [-l last.ppm] [-mix|-spread|-shift|
12 -relief|-oil|-edge|-bentley|-block] [-base name]
13
14
16 This program is part of Netpbm(1).
17
18 ppmfadegenerates a transition between either two input images or
19 between one input image and black. You can use the 30 intermediate
20 images generated to show a smooth transition between segments of a
21 movie. The input and output images are in the PPM format. If you
22 specify both input images, they should both be the same size. If you
23 want to fade from black to an image, specify only the last image. If
24 you want to fade from an image to black, specify only the first image.
25 ppmfade names the resulting image files base.nnnn.ppm, where nnnn is a
26 number varying between 0001 and 0030 and base is what you specify with
27 via the -base option (default fade).
28
29 Another way to convert by steps from one image to another is morphing.
30 You can use xmorph to do that.
31
32
34 -f first.ppm
35 This is the image file (PPM format) to be used at the beginning
36 of the transition. If you don't specify this, the fade will
37 start from black.
38
39
40 -l last.ppm
41 This is the image file (PPM format) to be used at the ending of
42 the transition. If you don't specify this, the fade will end
43 with black.
44
45
46 -mix The two images are superimposed with the brightness of the first
47 image decreasing from full to none and the brightness of the
48 final image increasing from none to full. The transition is
49 quadratic in brightness with faster transition in the beginning
50 and slower at the end.
51
52
53 -spread
54 The pixels in the first image will be moved (spread) further and
55 further from their original location and then moved into the
56 proper location in the final image. This is the default transi‐
57 tion.
58
59
60 -shift The pixels in the first image will be shifted further and fur‐
61 ther horizontally from their original location and then moved
62 into the proper location in the final image.
63
64
65 -relief
66 The first image is faded to a Laplacian relief filtered version
67 of the first image. This is then faded to a Laplacian relief
68 filtered version of the second image and finally faded to the
69 final image.
70
71
72 -oil The first image is faded to an 'oil transfer' version of the
73 first image. This is then faded to an 'oil transfer' version of
74 the second image and finally faded to the final image.
75
76
77 -edge The first image is faded to an edge detected version of the
78 first image. This is then faded to an edge detected version of
79 the second image and finally faded to the final image.
80
81
82 -bentley
83 The first image is faded to a 'Bentley Effect' version of the
84 first image. This is then faded to a 'Bentley Effect' version
85 of the second image and finally faded to the final image.
86
87
88 -block The first image is defocused to small blocks. The small blocks
89 are converted to match a defocused version of the last image.
90 The block version of the last image is then focused to the final
91 image.
92
93
94 -base name
95 This forms part of the output filenames, as described above.
96
97
98
99
101 ppmfade -f teapot.ppm -l pyr.ppm
102
103 Fade from teapot.ppm to pyr.ppm generating fade.0001.ppm to
104 fade.0030.ppm using the 'spread' transition.
105
106 ppmfade -l teapot.ppm
107
108 Fade from black to teapot.ppm generating fade.0001.ppm to
109 fade.0030.ppm.
110
111 ppmfade -f teapot.ppm -base end
112
113 Fade from teapot.ppm to black generating end.0001.ppm to end.0030.ppm.
114
115
117 tontsc manual, sgifade manual, smart_vfr manual, xmorph manual, ppm(1)
118
119
121 Bryan Henderson, Olympia WA; April 2000
122
123 Inspired by and intended as a replacement for pbmfade (not a Netpbm
124 program) by Wesley C. Barris.
125
126
127
128netpbm documentation April 1, 2000 Ppmfade User Manual(0)