man-pages/man1/ppmrainbow.1.html
2021-03-31 01:06:50 +01:00

151 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ppmrainbow</TITLE>
</HEAD><BODY>
<H1>ppmrainbow</H1>
Section: User Commands (1)<BR>Updated: 1 July 2001<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ppmrainbow - Generate a rainbow
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ppmrainbow</B>
[<B>-width=</B><I>number</I>]
[<B>-height=</B><I>number</I>]
<BR>
[<B>-tmpdir=</B><I>directory</I>]
[<B>-verbose</B>]
<I>color</I> ...
<P>
<P>
All options can be abbreviated to their shortest unique prefix. You
may use two hyphens instead of one to designate an option. You may
use either white space or equals signs between an option name and its
value.
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>ppmrainbow</B>
generates a PPM image that fades from one color to another to another
from left to right, like a rainbow. The colors are those you specify
on the command line, in that order. The first color is added again on
the right end of the image.
<P>
If you want a vertical or other non-horizontal rainbow, run the output
through
<B>pnmrotate</B>.
<P>
One use for such a rainbow is to compose it with another image under
an alpha mask in order to add a rainbow area to another image. In fact,
you can make rainbow-colored text by using
<B>pbmtext</B>,
<B>pnmcomp</B>,
and
<B>ppmrainbow</B>.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-width </B><I>number</I>
<DD>
The width in pixels of the output image.
<P>
Default is 600.
<DT id="2"><B>-height </B><I>number</I>
<DD>
The height in pixels of the output image.
<P>
Default is 8.
<DT id="3"><B>-tmpdir</B>
<DD>
The directory specification of the directory
<B>ppmrainbow</B>
is to use for temporary files.
<P>
Default is the value of the
<B>TMPDIR </B>
environment variable, or
<I>/tmp</I>
if
<B>TMPDIR </B>
is not set.
<DT id="4"><B>-verbose</B>
<DD>
Print the &quot;commands&quot; (invocations of other Netpbm programs) that
<B>ppmrainbow</B>
uses to create the image.
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+ppmmake">ppmmake</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pnmcomp">pnmcomp</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pbmtext">pbmtext</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ppmfade">ppmfade</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A></B>(5).
<P>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
<P>
Arjen Bax wrote
<B>ppmrainbow</B>
in June 2001 and contributed it to the Netpbm package. Bryan
Henderson wrote this man page in July 2001.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="10"><A HREF="#lbAG">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:25 GMT, March 31, 2021
</BODY>
</HTML>