diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-12-25 03:06:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-12-25 03:06:05 +0000 |
commit | 1017cbebe5d5edd859e0fddad0a8600f509f4821 (patch) | |
tree | 78bdf336648566f7a7d55f42837357dea3dd674c /ppmrainbow.html | |
parent | 16f2ac126651015a376eba864a3a35f738b0b25a (diff) | |
download | netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.gz netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.xz netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.zip |
Place user guide into Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppmrainbow.html')
-rw-r--r-- | ppmrainbow.html | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/ppmrainbow.html b/ppmrainbow.html new file mode 100644 index 00000000..f1d36268 --- /dev/null +++ b/ppmrainbow.html @@ -0,0 +1,132 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Ppmrainbow User Manual</TITLE></HEAD> +<BODY> +<H1>ppmrainbow</H1> +Updated: 14 October 2005 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +ppmrainbow - Generate a rainbow + +<A NAME="lbAC"> </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>-norepeat</B>] + +[<B>-verbose</B>] + +<I>color</I> ... + +<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. + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<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 unless you specify the +<b>-norepeat</b> option. + +<P>If you want a vertical or other non-horizontal rainbow, run the output +through <B>pnmrotate</B> or <b>pamflip</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>pamcomp</B>, and <B>ppmrainbow</B>. + +<p><b>pgmramp</b> does a similar thing for grayscale images. + +<p>If you just want an image containing all the possible colors (for some +kind of processing; not to look at), see <b>pamseq</b>. + +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT><B>-width </B><I>number</I> + +<DD> +The width in pixels of the output image. + +<P>Default is 600. + +<DT><B>-height </B><I>number</I> + +<DD> +The height in pixels of the output image. + +<P>Default is 8. + +<DT><b>-norepeat</b> + +<dd>This option makes <b>ppmrainbow</b> end the rainbow with the last +color you specify. Without this option, <b>ppmrainbow</b> adds the +first color you specify to the right end of the rainbow as if you had +repeated it. <i>(I don't understand the point of this default behavior; +it exists today just for backward compatibility).</i> + +<DT><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 +<b>/tmp</b> if <B>TMPDIR</B> is not set. + +<DT><B>-verbose</B> + +<DD>Print the "commands" (invocations of other Netpbm +programs) that <B>ppmrainbow</B> uses to create the image. + +</DL> + +<A NAME="lbAF"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="pgmramp.html">pgmramp</A></B>, +<B><A HREF="pamseq.html">pamseq</A></B>, +<B><A HREF="pamgradient.html">pamgradient</A></B>, +<B><A HREF="ppmmake.html">ppmmake</A></B>, +<B><A HREF="ppmfade.html">ppmfade</A></B>, +<B><A HREF="ppm.html">ppm</A></B>. + +<A NAME="lbAG"> </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 manual in July +2001. + +<HR> +<A NAME="index"> </A> +<H2>Table Of Contents</H2> +<UL> +<LI><A HREF="#lbAB">NAME</A> +<LI><A HREF="#lbAC">SYNOPSIS</A> +<LI><A HREF="#lbAD">DESCRIPTION</A> +<LI><A HREF="#lbAE">OPTIONS</A> +<LI><A HREF="#lbAF">SEE ALSO</A> +<LI><A HREF="#lbAG">AUTHOR</A> +</UL> +</BODY> +</HTML> |