2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/userguide/avstopam.html b/userguide/avstopam.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/avstopam.html 2022-01-03 16:56:37.731614243 +0100
|
|
|
|
+++ b/userguide/avstopam.html 2022-01-03 16:58:29.889416006 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -2,12 +2,13 @@
|
2020-10-07 12:25:58 +00:00
|
|
|
<html><head><title>Avstopam User Manual</title></head>
|
2018-06-04 12:47:58 +00:00
|
|
|
<body>
|
2020-10-07 12:25:58 +00:00
|
|
|
<h1>avstopam</h1>
|
|
|
|
-Updated: 07 February 2010
|
|
|
|
-<br>
|
2021-06-02 19:04:08 +00:00
|
|
|
-<a href="#index">Table Of Contents</a>
|
2020-10-07 12:25:58 +00:00
|
|
|
+
|
2021-06-02 19:04:08 +00:00
|
|
|
+<p>Updated: 07 February 2010</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
+
|
|
|
|
+<p><a href="#index">Table Of Contents</a></p>
|
|
|
|
<h2>NAME</h2>
|
|
|
|
|
|
|
|
-<p>avstopam - convert an AVS X image to a Netpbm image
|
|
|
|
+<p>avstopam - convert an AVS X image to a Netpbm image</p>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<h2 id="synopsis">SYNOPSIS</h2>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -16,40 +17,40 @@ Updated: 07 February 2010
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<p><b>avstopam</b> reads a Stardent <abbr title="Application
|
|
|
|
Visualization System">AVS</abbr> X image as input and produces a Netpbm
|
|
|
|
-image as output.
|
|
|
|
+image as output.</p>
|
|
|
|
|
|
|
|
<p><i>avsfile</i> is the input file, which defaults to Standard Input.
|
2021-06-02 19:04:08 +00:00
|
|
|
-Output is always on Standard Output.
|
|
|
|
+Output is always on Standard Output.</p>
|
|
|
|
|
|
|
|
<h2 id="options">OPTIONS</h2>
|
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
<p>There are no command line options defined specifically
|
|
|
|
for <b>avstopam</b>, but it recognizes the options common to all
|
|
|
|
programs based on libnetpbm (See <a href="index.html#commonoptions">
|
|
|
|
-Common Options</a>.)
|
|
|
|
+Common Options</a>.)</p>
|
|
|
|
|
|
|
|
<h2 id="author">AUTHOR</h2>
|
|
|
|
|
|
|
|
<p>Copyright © 2010 Scott Pakin,
|
2021-06-02 19:04:08 +00:00
|
|
|
-<a href="mailto:scott+pbm@pakin.org">scott+pbm@pakin.org</a>
|
|
|
|
+<a href="mailto:scott+pbm@pakin.org">scott+pbm@pakin.org</a></p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2 id="seealso">SEE ALSO</h2>
|
|
|
|
|
|
|
|
-<p><a href="pamtoavs.html">pamtoavs</a>, <a href="pam.html">pam</a>
|
|
|
|
+<p><a href="pamtoavs.html">pamtoavs</a>, <a href="pam.html">pam</a></p>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<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="#author">AUTHOR</a>
|
|
|
|
-<li><a href="#seealso">SEE ALSO</a>
|
|
|
|
+<li><a href="#synopsis">SYNOPSIS</a></li>
|
|
|
|
+<li><a href="#description">DESCRIPTION</a></li>
|
|
|
|
+<li><a href="#options">OPTIONS</a></li>
|
|
|
|
+<li><a href="#author">AUTHOR</a></li>
|
2021-06-02 19:04:08 +00:00
|
|
|
+<li><a href="#seealso">SEE ALSO</a></li>
|
2020-10-07 12:25:58 +00:00
|
|
|
</ul>
|
|
|
|
</body>
|
|
|
|
</html>
|
2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/userguide/faxformat.html b/userguide/faxformat.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/faxformat.html 2022-01-03 16:56:37.731614243 +0100
|
|
|
|
+++ b/userguide/faxformat.html 2022-01-03 16:58:29.890416013 +0100
|
2018-06-04 12:47:58 +00:00
|
|
|
@@ -5,10 +5,11 @@
|
|
|
|
Updated: 03 December 2008
|
2020-10-07 12:25:58 +00:00
|
|
|
<br>
|
2018-06-04 12:47:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
+<h2>SYNOPSIS</h2>
|
2018-06-04 12:47:58 +00:00
|
|
|
<p>This page, part of the <a href="index.html">Netpbm user's guide</a>,
|
|
|
|
describes FAX formats in relation to Netpbm facilities.
|
|
|
|
|
|
|
|
-
|
2021-06-02 19:04:08 +00:00
|
|
|
+<h2>DESCRIPTION</h2>
|
2018-06-04 12:47:58 +00:00
|
|
|
<p>The ITU (formerly CCITT) publishes standards for operation of fax machines
|
|
|
|
(the idea is to provide a way to be sure that a fax machine is able to receive
|
|
|
|
a fax sent by another). These standards incidentally specify graphics file
|
2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/userguide/libnetpbm_ug.html b/userguide/libnetpbm_ug.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/libnetpbm_ug.html 2022-01-03 16:56:37.732614250 +0100
|
|
|
|
+++ b/userguide/libnetpbm_ug.html 2022-01-03 16:58:29.891416020 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -374,7 +374,7 @@ plain format.
|
|
|
|
<h2 id="reference">Reference</h2>
|
|
|
|
|
|
|
|
<p>The <a href="libnetpbm_image.html">Libnetpbm Netpbm Image
|
|
|
|
-Processing Manual</a> describes the the <b>libnetpbm</b> functions for
|
|
|
|
+Processing Manual</a> describes the <b>libnetpbm</b> functions for
|
|
|
|
processing image data.
|
|
|
|
|
|
|
|
<p>The <a href="libpm.html">Libnetpbm Utility Manual</a>
|
|
|
|
diff -urNp a/userguide/pamfunc.html b/userguide/pamfunc.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/pamfunc.html 2022-01-03 16:56:37.730614236 +0100
|
|
|
|
+++ b/userguide/pamfunc.html 2022-01-03 16:58:29.892416027 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -60,7 +60,7 @@ output image.
|
|
|
|
and bit string (such as and with 01001000). For the arithmetic functions, the
|
|
|
|
function arguments and results are the fraction that a sample is of the
|
|
|
|
maxval, i.e. normal interpretation of PAM tuples. But for the bit string
|
|
|
|
-functions, the value is the the bit string whose value as a binary cipher is
|
|
|
|
+functions, the value is the bit string whose value as a binary cipher is
|
|
|
|
the sample value, and the maxval indicates the width of the bit string.
|
|
|
|
|
|
|
|
<h4>Arithmetic functions</h4>
|
|
|
|
diff -urNp a/userguide/pammixmulti.html b/userguide/pammixmulti.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/pammixmulti.html 2022-01-03 16:56:37.731614243 +0100
|
|
|
|
+++ b/userguide/pammixmulti.html 2022-01-03 16:58:29.893416034 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -7,8 +7,8 @@ Updated: 18 November 2018
|
|
|
|
<a href="#index">Table Of Contents</a>
|
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
-<h2>NAME</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>pammixmulti - blend together multiple PAM images
|
2020-10-07 12:25:58 +00:00
|
|
|
+<h2 id="name">NAME</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
+<p>pammixmulti - blend together multiple PAM images</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<h2 id="synopsis">SYNOPSIS</h2>
|
|
|
|
@@ -22,14 +22,14 @@ Updated: 18 November 2018
|
|
|
|
<p>Minimum unique abbreviation of an option is acceptable. You can use a
|
|
|
|
single hyphen instead of double hyphens to denote options. You can use white
|
|
|
|
space in place of the equals sign to separate an option name from its
|
|
|
|
-value.
|
|
|
|
+value.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
<h2 id="description">DESCRIPTION</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>This file is part of <a href="index.html">Netpbm</a>.
|
|
|
|
+<p>This file is part of <a href="index.html">Netpbm</a>.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p><b>pammixmulti</b> mixes two or more images to produce a new image. The
|
|
|
|
-program provides multiple ways to interpret "mix."
|
|
|
|
+program provides multiple ways to interpret "mix."</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
<h2 id="options">OPTIONS</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -37,7 +37,7 @@ program provides multiple ways to interp
|
2020-10-07 12:25:58 +00:00
|
|
|
<p>In addition to the options common to all programs based on libnetpbm
|
|
|
|
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
2021-06-02 19:04:08 +00:00
|
|
|
Common Options</a>), <b>pammixmulti</b> recognizes the following
|
2020-10-07 12:25:58 +00:00
|
|
|
-command line options:
|
|
|
|
+command line options:</p>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dl compact>
|
|
|
|
<dt><b>--blend</b>=average|random|mask</dt>
|
|
|
|
@@ -50,7 +50,7 @@ output is produced by selecting the corr
|
|
|
|
images, chosen at random on a per-pixel basis. With
|
|
|
|
<b>--blend</b>=<code>mask</code>, each pixel in the output is produced by a
|
|
|
|
weighted average of the corresponding pixels from all the input images based
|
|
|
|
-on the grayscale level of an additional mask image.
|
|
|
|
+on the grayscale level of an additional mask image.</p>
|
|
|
|
</dd>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dt><b>--maskfile</b>=<i>filename</i></dt>
|
|
|
|
@@ -60,7 +60,7 @@ grayscale mask file to control the blend
|
|
|
|
not grayscale, the first channel is treated as gray). Where the mask file is
|
|
|
|
black, the first image is selected. Where the mask file is white, the last
|
|
|
|
image is selected. Intermediate levels of gray select intermediate
|
|
|
|
-images.
|
|
|
|
+images.</p>
|
|
|
|
</dd>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dt><b>--stdev</b>=<i>number</i></dt>
|
|
|
|
@@ -77,7 +77,7 @@ that includes roughly equal amounts of t
|
|
|
|
and 2 but less of the corresponding pixel from image 3. As <i>number</i>
|
|
|
|
tends towards the number of input images (going beyond that has diminishing
|
|
|
|
impact), the output tends to look more
|
|
|
|
-like <b>--blend</b>=average. <i>number</i> defaults to 0.25.
|
|
|
|
+like <b>--blend</b>=average. <i>number</i> defaults to 0.25.</p>
|
|
|
|
</dd>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dt><b>--randomseed</b> <i>integer</i>
|
|
|
|
@@ -85,45 +85,45 @@ like <b>--blend</b>=average. <i>number</
|
|
|
|
<dd>This is the seed for the random number generator used with
|
|
|
|
<b>--blend=random</b>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>Use this to ensure you get the same image on separate invocations.
|
|
|
|
+<p>Use this to ensure you get the same image on separate invocations.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
</dl>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<h2 id="arguments">ARGUMENTS</h2>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>You supply the names of the files to mix as non-option arguments.
|
|
|
|
+<p>You supply the names of the files to mix as non-option arguments.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
<h2 id="examples">EXAMPLES</h2>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>Average a bunch of PPM images to produce a new PAM image:
|
|
|
|
+<p>Average a bunch of PPM images to produce a new PAM image:</p>
|
|
|
|
<pre><code>
|
|
|
|
pammixmulti input*.ppm >output.ppm
|
|
|
|
</code></pre>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>Mix these same images by taking each pixel from a randomly selected input
|
|
|
|
-image:
|
|
|
|
+image:</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<pre><code>
|
|
|
|
pammixmulti --blend=random input*.ppm >output.ppm
|
|
|
|
</code></pre>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>Use a mask image to control the fading among input images on a
|
|
|
|
-pixel-by-pixel basis:
|
|
|
|
+pixel-by-pixel basis:</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<pre><code>
|
|
|
|
pammixmulti --blend=mask --maskfile=mask.pgm >output.pam \
|
|
|
|
one.pam two.pam three.pam four.pam
|
|
|
|
</code></pre>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>Do the same but with more abrupt transitions:
|
|
|
|
+<p>Do the same but with more abrupt transitions:</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<pre><code>
|
|
|
|
pammixmulti --blend=mask --maskfile=mask.pgm --stdev=0.0 >output.pam \
|
|
|
|
one.pam two.pam three.pam four.pam
|
|
|
|
</code></pre>
|
|
|
|
|
|
|
|
-<p>and now with more gradual transitions:
|
|
|
|
+<p>and now with more gradual transitions:</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<pre><code>
|
|
|
|
pammixmulti --blend=mask --maskfile=mask.pgm --stdev=1.0 >output.pam \
|
|
|
|
@@ -133,12 +133,12 @@ pixel-by-pixel basis:
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2 id="history">HISTORY</h2>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p><b>pammixmulti</b> was new in Netpbm 10.85 (December 2018).
|
|
|
|
+<p><b>pammixmulti</b> was new in Netpbm 10.85 (December 2018).</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
<h2 id="author">AUTHOR</h2>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p>Copyright 2018 Scott Pakin, scott+pbm@pakin.org.
|
|
|
|
+<p>Copyright 2018 Scott Pakin, scott+pbm@pakin.org.</p>
|
2018-06-04 12:47:58 +00:00
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
<h2 id="seealso">SEE ALSO</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
|
|
|
|
@@ -146,20 +146,20 @@ pixel-by-pixel basis:
|
|
|
|
<a href="ppmmix.html">ppmmix</a>,
|
|
|
|
<a href="pamarith.html">pamarith</a>,
|
|
|
|
<a href="pnm.html">pnm</a>,
|
|
|
|
-<a href="pam.html">pam</a>
|
|
|
|
+<a href="pam.html">pam</a></p>
|
|
|
|
|
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
<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>
|
2021-06-02 19:04:08 +00:00
|
|
|
-<li><a href="#arguments">ARGUMENTS</a>
|
2020-10-07 12:25:58 +00:00
|
|
|
-<li><a href="#examples">EXAMPLES</a>
|
|
|
|
-<li><a href="#history">HISTORY</a>
|
|
|
|
-<li><a href="#author">AUTHOR</a>
|
|
|
|
-<li><a href="#seealso">SEE ALSO</a>
|
|
|
|
+<li><a href="#synopsis">SYNOPSIS</a></li>
|
|
|
|
+<li><a href="#description">DESCRIPTION</a></li>
|
|
|
|
+<li><a href="#options">OPTIONS</a></li>
|
2021-06-02 19:04:08 +00:00
|
|
|
+<li><a href="#arguments">ARGUMENTS</a></li>
|
2020-10-07 12:25:58 +00:00
|
|
|
+<li><a href="#examples">EXAMPLES</a></li>
|
|
|
|
+<li><a href="#history">HISTORY</a></li>
|
|
|
|
+<li><a href="#author">AUTHOR</a></li>
|
|
|
|
+<li><a href="#seealso">SEE ALSO</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/userguide/pampaintspill.html b/userguide/pampaintspill.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/pampaintspill.html 2022-01-03 16:56:37.730614236 +0100
|
|
|
|
+++ b/userguide/pampaintspill.html 2022-01-03 17:05:08.124277395 +0100
|
|
|
|
@@ -7,7 +7,7 @@ Updated: 02 November 2021
|
|
|
|
<a href="#index">Table Of Contents</a>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2>NAME</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
-pampaintspill - smoothly spill colors into the background
|
|
|
|
+<p>pampaintspill - smoothly spill colors into the background</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2 id="synopsis">SYNOPSIS</h2>
|
|
|
|
|
2022-01-03 16:07:00 +00:00
|
|
|
@@ -19,17 +19,17 @@ pampaintspill - smoothly spill colors in
|
2021-06-02 19:04:08 +00:00
|
|
|
[<b>--downsample</b>=<i>number</i>]
|
2022-01-03 16:07:00 +00:00
|
|
|
[<b>--near</b>=<i>number</i>]
|
2021-06-02 19:04:08 +00:00
|
|
|
[<b>--power</b>=<i>number</i>] [<i>filename</i>]
|
|
|
|
-[<b>-randomseed=</b><i>integer</i>]
|
|
|
|
+[<b>-randomseed=</b><i>integer</i>]</p>
|
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>Minimum unique abbreviations of option are acceptable. You may use
|
|
|
|
double 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.
|
|
|
|
+from its value.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2 id="description">DESCRIPTION</h2>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<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>
|
|
|
|
|
|
|
|
<p><b>pampaintspill</b> produces a smooth color gradient from all of the
|
|
|
|
non-background-colored pixels in an input image, effectively "spilling
|
2022-01-03 16:07:00 +00:00
|
|
|
@@ -40,27 +40,27 @@ paint" onto the background. <b>pampaint
|
2021-06-02 19:04:08 +00:00
|
|
|
<li><b>pampaintspill</b> accepts any number of paint
|
|
|
|
sources (non-background-colored pixels), which can lie anywhere
|
|
|
|
on the canvas. <b>pamgradient</b> accepts exactly
|
|
|
|
- four paint sources, one in each corner of the image.
|
|
|
|
+ four paint sources, one in each corner of the image.</li>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<li><b>pampaintspill</b> requires an input image while
|
|
|
|
<b>pamgradient</b> generates a new image from
|
|
|
|
- scratch.
|
|
|
|
+ scratch.</li>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<li><b>pampaintspill</b> can produce tileable output and
|
|
|
|
can control how tightly the gradient colors bind to their source
|
|
|
|
- pixels.
|
|
|
|
+ pixels.</li>
|
|
|
|
</ul>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>Results are generally best when the input image contains just a few, crisp
|
|
|
|
spots of color. Use your drawing program's pencil tool — as opposed to a
|
|
|
|
-paintbrush or airbrush tool — with a small nib.
|
|
|
|
+paintbrush or airbrush tool — with a small nib.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2 id="options">OPTIONS</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
<p>In addition to the options common to all programs based on libnetpbm
|
|
|
|
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
2021-06-02 19:04:08 +00:00
|
|
|
Common Options</a>), <b>pampaintspill</b> recognizes the following
|
2020-10-07 12:25:58 +00:00
|
|
|
-command line options:
|
|
|
|
+command line options:</p>
|
|
|
|
|
|
|
|
<dl>
|
2021-06-02 19:04:08 +00:00
|
|
|
<dt><b>--bgcolor</b>=<i>color</i></dt>
|
2022-01-03 16:07:00 +00:00
|
|
|
@@ -116,46 +116,46 @@ command line options:
|
|
|
|
2.0) make the paint sources stand out in the output image by pushing the
|
|
|
|
gradients away from them.</dd>
|
|
|
|
|
|
|
|
- <dt><b>-randomseed=</b><i>integer</i>
|
|
|
|
+ <dt><b>-randomseed=</b><i>integer</i></dt>
|
|
|
|
<dd>This is the seed for the random number generator that generates the
|
|
|
|
- pixels.
|
|
|
|
+ pixels.</dd>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
- <p>Use this to ensure you get the same image on separate invocations.
|
|
|
|
+ <p>Use this to ensure you get the same image on separate invocations.</p>
|
2022-01-03 16:07:00 +00:00
|
|
|
|
|
|
|
- <p>This option was new in Netpbm 10.94 (March 2021).</dd>
|
2021-06-02 19:04:08 +00:00
|
|
|
+ <p>This option was new in Netpbm 10.94 (March 2021).</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<h2 id="seealso">SEE ALSO</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
-<li><a href="pamgradient.html"><b>pamgradient</b></a>
|
|
|
|
-<li><a href="ppmmake.html"><b>ppmmake</b></a>,
|
|
|
|
-<li><a href="ppmrainbow.html"><b>ppmrainbow</b></a>,
|
|
|
|
-<li><a href="pgmramp.html"><b>pgmramp</b></a>,
|
|
|
|
-<li><a href="ppmpat.html"><b>ppmpat</b></a>,
|
|
|
|
-<li><a href="pam.html"><b>pam</b></a>
|
|
|
|
+<li><a href="pamgradient.html"><b>pamgradient</b></a></li>
|
|
|
|
+<li><a href="ppmmake.html"><b>ppmmake</b></a>,</li>
|
|
|
|
+<li><a href="ppmrainbow.html"><b>ppmrainbow</b></a>,</li>
|
|
|
|
+<li><a href="pgmramp.html"><b>pgmramp</b></a>,</li>
|
|
|
|
+<li><a href="ppmpat.html"><b>ppmpat</b></a>,</li>
|
|
|
|
+<li><a href="pam.html"><b>pam</b></a></li>
|
|
|
|
</ul>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2 id="history">HISTORY</h2>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p><b>pampaintspill</b> was new in Netpbm 10.50 (March 2010).
|
|
|
|
+<p><b>pampaintspill</b> was new in Netpbm 10.50 (March 2010).</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<h2 id="copyright">COPYRIGHT</h2>
|
|
|
|
|
2022-01-03 16:07:00 +00:00
|
|
|
<p>Copyright © 2010–2021 Scott Pakin,
|
2021-06-02 19:04:08 +00:00
|
|
|
-<a href="mailto:scott+pbm@pakin.org"><i>scott+pbm@pakin.org</i></a>.
|
|
|
|
+<a href="mailto:scott+pbm@pakin.org"><i>scott+pbm@pakin.org</i></a>.</p>
|
|
|
|
|
2020-10-07 12:25:58 +00:00
|
|
|
<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="#seealso">SEE ALSO</a>
|
2021-06-02 19:04:08 +00:00
|
|
|
-<li><a href="#history">HISTORY</a>
|
|
|
|
-<li><a href="#copyright">COPYRIGHT</a>
|
2020-10-07 12:25:58 +00:00
|
|
|
+<li><a href="#synopsis">SYNOPSIS</a></li>
|
|
|
|
+<li><a href="#description">DESCRIPTION</a></li>
|
|
|
|
+<li><a href="#options">OPTIONS</a></li>
|
|
|
|
+<li><a href="#seealso">SEE ALSO</a></li>
|
2021-06-02 19:04:08 +00:00
|
|
|
+<li><a href="#history">HISTORY</a></li>
|
|
|
|
+<li><a href="#copyright">COPYRIGHT</a></li>
|
2020-10-07 12:25:58 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/userguide/pamrecolor.html b/userguide/pamrecolor.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/pamrecolor.html 2022-01-03 16:56:37.731614243 +0100
|
|
|
|
+++ b/userguide/pamrecolor.html 2022-01-03 16:58:29.894416041 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -2,9 +2,9 @@
|
|
|
|
<html><head><title>Pamrecolor User Manual</title></head>
|
2020-10-07 12:25:58 +00:00
|
|
|
<body>
|
2021-06-02 19:04:08 +00:00
|
|
|
<h1>pamrecolor</h1>
|
|
|
|
-Updated: 31 July 2010
|
|
|
|
+<p>Updated: 31 July 2010
|
|
|
|
<br>
|
2020-10-07 12:25:58 +00:00
|
|
|
-<a href="#index">Table Of Contents</a>
|
2021-06-02 19:04:08 +00:00
|
|
|
+<a href="#index">Table Of Contents</a></p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<h2>NAME</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
pamrecolor - alter colors without affecting luminance
|
|
|
|
@@ -22,15 +22,15 @@ pamrecolor - alter colors without affect
|
|
|
|
[<b>-randomseed=</b><i>integer</i>]
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
[<i>infile</i>]
|
|
|
|
-
|
|
|
|
+</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>Minimum unique abbreviation of option is acceptable. You may use double
|
|
|
|
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.
|
|
|
|
+space in place of the equals sign to separate an option name from its value.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p><b>pamrecolor</b> changes an image's colors to be as close as
|
|
|
|
possible to given target colors but with the constraint that the
|
|
|
|
@@ -39,17 +39,17 @@ image will look identical if both are co
|
|
|
|
(e.g. with
|
|
|
|
<a href="ppmtopgm.html">ppmtopgm</a>). You can have <b>pamrecolor</b> select
|
|
|
|
target colors randomly, specify a single hue for the entire image, or take the
|
|
|
|
-target colors from a target image.
|
|
|
|
+target colors from a target image.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>In addition to real Netpbm images, <b>pamrecolor</b> works on pseudo-Netpbm
|
|
|
|
images based on arbitrary color spaces. You can define the color space
|
|
|
|
-explicitly or choose one of many that <b>pamrecolor</b> knows by name.
|
|
|
|
+explicitly or choose one of many that <b>pamrecolor</b> knows by name.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>The output is a PAM image on standard output. Options control the
|
|
|
|
exact format of the PAM. If you want a PNM (PBM, PGM, or PPM) image,
|
|
|
|
use <a href="pamtopnm.html">pamtopnm</a> on the output. There is no
|
|
|
|
need to convert if you will use the image as input to a current Netpbm
|
|
|
|
-program, but many other programs don't know what a PAM is.
|
|
|
|
+program, but many other programs don't know what a PAM is.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
<h2 id="options">OPTIONS</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -57,7 +57,7 @@ program, but many other programs don't k
|
|
|
|
<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>pamrecolor</b> recognizes the following
|
|
|
|
-command line options:
|
|
|
|
+command line options:</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dl>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -76,9 +76,9 @@ the raster have different meaning. Many
|
|
|
|
images actually use a variation with a different color space. For example,
|
|
|
|
<a href="http://www.gimp.org/">GIMP</a> uses sRGB internally and if you
|
|
|
|
have GIMP generate a Netpbm image file, it really generates a variation of
|
|
|
|
-the format that uses sRGB.
|
|
|
|
+the format that uses sRGB.</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
-<p><b>pamrecolor</b> knows the following color spaces (<i>name</i> values):
|
|
|
|
+<p><b>pamrecolor</b> knows the following color spaces (<i>name</i> values):</p>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dl>
|
|
|
|
<dt>adobe</dt>
|
|
|
|
@@ -109,7 +109,7 @@ the format that uses sRGB.
|
|
|
|
<p>The default is "ntsc" because this is the color space that the Netpbm
|
|
|
|
formats and many graphics utilities use. As a counterexample,
|
|
|
|
<a href="http://www.gimp.org/">GIMP</a> uses sRGB as its native color
|
|
|
|
-space.
|
|
|
|
+space.</p>
|
2021-01-26 13:30:04 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>The luminance values <b>pamrecolor</b> uses for each of the above come from
|
|
|
|
Bruce Lindbloom's
|
|
|
|
diff -urNp a/userguide/pbmtog3.html b/userguide/pbmtog3.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/pbmtog3.html 2022-01-03 16:56:37.732614250 +0100
|
|
|
|
+++ b/userguide/pbmtog3.html 2022-01-03 16:58:29.894416041 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -36,7 +36,7 @@ use those encodings.
|
2021-01-26 13:30:04 +00:00
|
|
|
<p>In addition to the options common to all programs based on libnetpbm
|
|
|
|
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
|
2021-06-02 19:04:08 +00:00
|
|
|
Common Options</a>), <b>pbmtog3</b> recognizes the following
|
2021-01-26 13:30:04 +00:00
|
|
|
-command line options:
|
|
|
|
+command line options:</p>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<dl>
|
|
|
|
<dt><b>-reversebits</b>
|
|
|
|
@@ -80,7 +80,7 @@ You cannot specify both.
|
2021-01-26 13:30:04 +00:00
|
|
|
<h2 id="history">HISTORY</h2>
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>Before Netpbm 10.79 (June 2017), there was a different program by the same
|
|
|
|
-name in Netpbm, which was written by by Paul Haeberli
|
|
|
|
+name in Netpbm, which was written by Paul Haeberli
|
|
|
|
<<a href="mailto:paul@manray.sgi.com">paul@manray.sgi.com</a>> in 1989
|
|
|
|
and then modified extensively by others.
|
2021-01-26 13:30:04 +00:00
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/userguide/ppmtogif.html b/userguide/ppmtogif.html
|
2022-01-03 16:07:00 +00:00
|
|
|
--- a/userguide/ppmtogif.html 2022-01-03 16:56:37.733614257 +0100
|
|
|
|
+++ b/userguide/ppmtogif.html 2022-01-03 16:58:29.895416049 +0100
|
2021-06-02 19:04:08 +00:00
|
|
|
@@ -5,17 +5,17 @@
|
2020-10-07 12:25:58 +00:00
|
|
|
|
2021-01-26 13:30:04 +00:00
|
|
|
<h2>NAME</h2>
|
|
|
|
|
|
|
|
-ppmtogif - replaced by pamtogif
|
|
|
|
-
|
|
|
|
-<h2>DESCRIPTION</h2>
|
|
|
|
+<p>ppmtogif - replaced by pamtogif</p>
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
<p>This program is part of <a href="index.html">Netpbm</a>.
|
2021-01-26 13:30:04 +00:00
|
|
|
|
|
|
|
+<h2>SYNOPSIS</h2>
|
2021-06-02 19:04:08 +00:00
|
|
|
<p><b>ppmtogif</b> was replaced in Netpbm 10.37 (December 2006) by
|
|
|
|
<b><a href="pamtogif.html">pamtogif</a></b>.
|
|
|
|
|
2021-01-26 13:30:04 +00:00
|
|
|
<p><b>pamtogif</b> is mostly backward compatible with <b>ppmtogif</b>.
|
|
|
|
|
|
|
|
+<h2>DESCRIPTION</h2>
|
|
|
|
<p>One way <b>pamtogif</b> is not backward compatible with <b>ppmtogif</b>
|
|
|
|
is that to specify a transparency (alpha) mask with <b>ppmtogif</b>, you
|
|
|
|
supply the transparency as a separate pseudo-PGM image and use the
|