209 lines
5.4 KiB
HTML
209 lines
5.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PPMFADE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PPMFADE</H1>
|
|
Section: User Commands (1)<BR>Updated: April 1, 2000<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ppmfade - generate a transition between two image files using special effects.
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>ppmfade</B>
|
|
|
|
[
|
|
<B>-f </B>
|
|
|
|
<I>first.ppm</I>
|
|
|
|
] [
|
|
<B>-l </B>
|
|
|
|
<I>last.ppm</I>
|
|
|
|
] [
|
|
<B>-mix</B>|<B>-spread</B>|<B>-shift</B>|<B>-relief</B>|<B>-oil</B>|<B>-edge</B>|<B>-bentley</B>|<B>-block</B>
|
|
|
|
] [
|
|
<B>-base </B>
|
|
|
|
<I>name</I>
|
|
|
|
]
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This program generates a transition between either two input images or
|
|
between one input image and black. You can use the 30 intermediate
|
|
images generated to show a smooth transition between segments of a
|
|
movie. The input and output images are in the Portable Pixmap (PPM)
|
|
format. If you specify both input images, they should both be the
|
|
same size. If you want to fade from black to an image, specify
|
|
only the last image. If you want to fade from an image to black,
|
|
specify only the first image.
|
|
<B>ppmfade </B>
|
|
|
|
names the resulting image files
|
|
<I>base</I><B>.</B><I>nnnn</I>
|
|
|
|
<B>.ppm</B>,
|
|
|
|
where
|
|
<I>nnnn </I>
|
|
|
|
is a number varying between 0001 and 0030 and
|
|
<I>base</I>
|
|
|
|
is what you specify with via the
|
|
<B>-base</B>
|
|
|
|
option (default
|
|
<B>fade</B>).
|
|
|
|
<P>
|
|
Another way to convert by steps from one image to another is morphing.
|
|
You can use
|
|
<B>xmorph</B>
|
|
|
|
to do that.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-f first.ppm</B>
|
|
|
|
<DD>
|
|
This is the image file (PPM format) to be used at the beginning of the
|
|
transition. If not specified, the fade will start from black.
|
|
<DT id="2"><B>-l last.ppm</B>
|
|
|
|
<DD>
|
|
This is the image file (PPM format) to be used at the ending of the
|
|
transition. If not specified, the fade will end with black.
|
|
<DT id="3"><B>-mix</B>
|
|
|
|
<DD>
|
|
The two images are superimposed with the brightness of the first image
|
|
decreasing from full to none and the brightness of the final image
|
|
increasing from none to full. The transition is quadratic in brightness
|
|
with faster transition in the beginning and slower at the end.
|
|
<DT id="4"><B>-spread</B>
|
|
|
|
<DD>
|
|
The pixels in the first image will be moved (spread) further and further
|
|
from their original location and then moved into the proper location in
|
|
the final image. This is the default transition.
|
|
<DT id="5"><B>-shift</B>
|
|
|
|
<DD>
|
|
The pixels in the first image will be shifted further and further horizontally
|
|
from their original location and then moved into the proper location in
|
|
the final image.
|
|
<DT id="6"><B>-relief</B>
|
|
|
|
<DD>
|
|
The first image is faded to a Laplacian relief filtered version of the
|
|
first image. This is then faded to a Laplacian relief filtered version
|
|
of the second image and finally faded to the final image.
|
|
<DT id="7"><B>-oil</B>
|
|
|
|
<DD>
|
|
The first image is faded to an "oil transfer" version of the first image.
|
|
This is then faded to an "oil transfer" version of the second image and
|
|
finally faded to the final image.
|
|
<DT id="8"><B>-edge</B>
|
|
|
|
<DD>
|
|
The first image is faded to an edge detected version of the first image.
|
|
This is then faded to an edge detected version of the second image and
|
|
finally faded to the final image.
|
|
<DT id="9"><B>-bentley</B>
|
|
|
|
<DD>
|
|
The first image is faded to a "Bentley Effect" version of the first image.
|
|
This is then faded to a "Bentley Effect" version of the second image and
|
|
finally faded to the final image.
|
|
<DT id="10"><B>-block</B>
|
|
|
|
<DD>
|
|
The first image is defocused to small blocks. The small blocks are converted
|
|
to match a defocused version of the last image. The block version of the last
|
|
image is then focused to the final image.
|
|
<DT id="11"><B>-base</B><I>name</I>
|
|
|
|
<DD>
|
|
This forms part of the output filenames, as described above.
|
|
<DT id="12"><DD>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<B>ppmfade -f teapot.ppm -l pyr.ppm</B>
|
|
|
|
<P>
|
|
Fade from teapot.ppm to pyr.ppm generating fade.0001.ppm to fade.0030.ppm using
|
|
the "spread" transition.
|
|
<P>
|
|
<B>ppmfade -l teapot.ppm</B>
|
|
|
|
<P>
|
|
Fade from black to teapot.ppm generating fade.0001.ppm to fade.0030.ppm.
|
|
<P>
|
|
<B>ppmfade -f teapot.ppm -base end</B>
|
|
|
|
<P>
|
|
Fade from teapot.ppm to black generating end.0001.ppm to end.0030.ppm.
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+tontsc">tontsc</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+sgifade">sgifade</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+smart_vfr">smart_vfr</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+xmorph">xmorph</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A></B>(5),
|
|
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<BR>
|
|
|
|
Wesley C. Barris (<A HREF="mailto:wesb@msc.edu">wesb@msc.edu</A>)
|
|
<BR>
|
|
|
|
Army High Performance Computing Research Center (AHPCRC)
|
|
<BR>
|
|
|
|
Minnesota Supercomputer Center, Inc.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="13"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="14"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="15"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="16"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="17"><A HREF="#lbAF">EXAMPLES</A><DD>
|
|
<DT id="18"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="19"><A HREF="#lbAH">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:24 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|