diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-07-11 03:14:39 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-07-11 03:14:39 +0000 |
commit | a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff (patch) | |
tree | 0e462a89e51e65b0d293104f437aa371d8e56ee1 /pamgradient.html | |
parent | e4dbb262ce92440414dad7735f9b9264e47cffa0 (diff) | |
download | netpbm-mirror-a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff.tar.gz netpbm-mirror-a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff.tar.xz netpbm-mirror-a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@3893 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pamgradient.html')
-rw-r--r-- | pamgradient.html | 110 |
1 files changed, 56 insertions, 54 deletions
diff --git a/pamgradient.html b/pamgradient.html index e2bcc7b5..075c61ce 100644 --- a/pamgradient.html +++ b/pamgradient.html @@ -1,24 +1,21 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML> -<HEAD> - <TITLE>Pamgradient User Manual</TITLE> -</HEAD> -<BODY> - -<H1>pamgradient</H1>Updated: 21 October 2005 -<BR> -<A href="#index">Table Of Contents</A> - -<H2>NAME</H2> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> +<html><head><title>Pamgradient User Manual</title></head> +<body> +<h1>pamgradient</h1> +Updated: 21 October 2005 +<br> +<a href="#index">Table Of Contents</a> + +<h2>NAME</h2> pamgradient - create a four-corner gradient PAM image -<H2 id="synopsis">SYNOPSIS</H2> +<h2 id="synopsis">SYNOPSIS</h2> -<B>pamgradient</B> -[<B>-maxval=</B><I>maxval</I>] -<I>color-tl</i> <i>color-tr</i> <i>color-bl</i> <i>color-br</i> +<b>pamgradient</b> +[<b>-maxval=</b><i>maxval</i>] +<i>color-tl</i> <i>color-tr</i> <i>color-bl</i> <i>color-br</i> <br> -<i>width</i> <i>height</I> +<i>width</i> <i>height</i> <p>Minimum unique abbreviation of option is acceptable. You may use double @@ -26,53 +23,58 @@ hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value. -<H2 id="description">DESCRIPTION</H2> +<h2 id="description">DESCRIPTION</h2> -<P>This program is part of <A href="index.html">Netpbm</A>. +<p>This program is part of <a href="index.html">Netpbm</a>. -<P><B>pamgradient</B> creates an image of the specified -dimensions <I>width</I> by <I>height</I> which contains a smooth, +<p><b>pamgradient</b> creates an image of the specified +dimensions <i>width</i> by <i>height</i> which contains a smooth, two-dimensional gradient between the specified colors of the four corners (from top left to bottom right). -<P>Specify the colors as described for the <a +<p>Specify the colors as described for the <a href="libnetpbm_image.html#colorname">argument of the <b>pnm_parsecolor()</b> library routine</a>. -<P>If all four colors are gray values, <B>pamgradient</B> creates a +<p>If all four colors are gray values, <b>pamgradient</b> creates a grayscale image (PAM tuple type GRAYSCALE). Otherwise, it creates a color image (PAM tuple type RGB). -<H2 id="options">OPTIONS</H2> +<h2 id="options">OPTIONS</h2> + +<p>In addition to the options common to all programs based on libnetpbm +(most notably <b>-quiet</b>, see <a href="index.html#commonoptions"> +Common Options</a>), <b>pamgradient</b> recognizes the following +command line option: -<DL compact> - <DT><B>-maxval=</B><I>maxval</I> +<dl compact> + <dt><b>-maxval=</b><i>maxval</i> - <DD>maxval of the generated image. (See <a href="pam.html">PAM</a> and + <dd>maxval of the generated image. (See <a href="pam.html">PAM</a> and <a href="pnm.html">PNM</a> specifications). -</DL> +</dl> -<H2 id="see_also">SEE ALSO</H2> +<h2 id="seealso">SEE ALSO</h2> -<A href="pamgradient.html"><b>pamgradient</b></A>, -<A href="ppmmake.html"><b>ppmmake</b></A>, -<A href="ppmrainbow.html"><b>ppmrainbow</b></A>, -<A href="pgmramp.html"><b>pgmramp</b></A>, -<A href="ppmpat.html"><b>ppmpat</b></A>, -<A href="pam.html">pam</A>, -<A href="pnm.html">pnm</A> +<a href="pamgradient.html"><b>pamgradient</b></a>, +<a href="ppmmake.html"><b>ppmmake</b></a>, +<a href="ppmrainbow.html"><b>ppmrainbow</b></a>, +<a href="pgmramp.html"><b>pgmramp</b></a>, +<a href="ppmpat.html"><b>ppmpat</b></a>, +<a href="pam.html">pam</a>, +<a href="pnm.html">pnm</a> -<H2 id="note">NOTE</H2> +<h2 id="note">NOTE</h2> -<P>Only the top left corner of the generated image has exactly +<p>Only the top left corner of the generated image has exactly the specified color. The color of the top right corner is a bit shifted to the left, the bottom left corner a bit up, and the bottom right corner left and up. This ensures nice transitions when combining adjacent (very narrow) gradients, and doesn't play a role when the gradient butts against a solid surface. -<P>This effect is created by the integer arithmetic used for the +<p>This effect is created by the integer arithmetic used for the interpolation of the color values, and since it doesn't make a difference for all practical purposes I might as well sell it as a feature. @@ -81,21 +83,21 @@ feature. <p><b>pamgradient</b> was new in Netpbm 10.31 (December 2005). -<H2 id="author">AUTHOR</H2> +<h2 id="author">AUTHOR</h2> -<P>pamgradient was written by Daniel Haude in October 2005. -<HR> +<p>pamgradient was written by Daniel Haude in October 2005. +<hr> -<H2 id="index">Table Of Contents</H2> +<h2 id="index">Table Of Contents</h2> -<UL> - <LI><A href="#synopsis">SYNOPSIS</A> - <LI><A href="#description">DESCRIPTION</A> - <LI><A href="#options">OPTIONS</A> - <LI><A href="#see_also">SEE ALSO</A> - <LI><A href="#note">NOTE</A> - <LI><A href="#history">HISTORY</A> - <LI><A href="#author">AUTHOR</A> -</UL> -</BODY> -</HTML> +<ul> +<li><a href="#synopsis">SYNOPSIS</a> +<li><a href="#description">DESCRIPTION</a> +<li><a href="#options">OPTIONS</a> +<li><a href="#seealso">SEE ALSO</a> +<li><a href="#note">NOTE</a> +<li><a href="#history">HISTORY</a> +<li><a href="#author">AUTHOR</a> +</ul> +</body> +</html> |