summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--directory.html8
-rw-r--r--pamsplit.html4
-rw-r--r--pamtosrf.html99
-rw-r--r--srftopam.html86
4 files changed, 195 insertions, 2 deletions
diff --git a/directory.html b/directory.html
index d3a4aad7..2465ea6c 100644
--- a/directory.html
+++ b/directory.html
@@ -104,6 +104,14 @@ convert PNG (Portable Network Graphics) to Netpbm formats
 <DD>
 convert PAM color/transparency image to PNG
 
+<DT><B><a href=srftopam.html>srftopam</a>    </B>
+<DD>
+convert SRF to PAM
+
+<DT><B><a href=pamtosrf.html>pamtosrf</a>    </B>
+<DD>
+convert Netpbm formats to SRF
+
 <DT><B><a href=palmtopnm.html>palmtopnm</a>    </B>
 <DD>
 convert Palm pixmap to Netpbm formats
diff --git a/pamsplit.html b/pamsplit.html
index 69471a91..040c0aca 100644
--- a/pamsplit.html
+++ b/pamsplit.html
@@ -48,11 +48,11 @@ want the image sequence number in the output file name padded with
 zeroes.  <b>pamsplit</b> adds leading zeroes to the image sequence
 number to get up to at least that number of characters.  This is just
 the number of characters in the sequence number part of the name.  For
-example, <b>pamsplit - outputfile%d.ppm -padname=3</b> would yield
+example, <kbd>pamsplit - outputfile%d.ppm -padname=3</kbd> would yield
 output filenames <b>outputfile000.ppm</b>, <b>outputfile001.ppm</b>,
 etc.
 
-<p>The default is no padding (equivalent to <b>-padname=0</b>.
+<p>The default is no padding (equivalent to <b>-padname=0</b>).
 <P>The <b>-padname</b> option was new in Netpbm 10.23 (July 2004).
 Before that, there was never any padding.
 
diff --git a/pamtosrf.html b/pamtosrf.html
new file mode 100644
index 00000000..3399e54f
--- /dev/null
+++ b/pamtosrf.html
@@ -0,0 +1,99 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<title>Pamtosrf User Manual</title>
+<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
+</head>
+
+<body>
+
+<h1>pamtosrf</h1>
+
+<p>Updated: 27 May 2011</p>
+
+<p><a href="#index">Table Of Contents</a></p>
+
+
+<h2>NAME</h2>
+
+<p>pamtosrf - convert a sequence of Netpbm images to a SRF image file</p>
+
+
+<h2><a id="synopsis">SYNOPSIS</a></h2>
+
+<p><b>pamtosrf</b>
+[<b>-verbose</b>]
+[<i>netpbmfile</i>]
+
+
+<h2><a id="description">DESCRIPTION</a></h2>
+
+<p>This program is part of <a href="index.html">Netpbm</a>.</p>
+
+<p><b>pamtosrf</b> reads a Netpbm image stream as input and produces a
+an SRF image file as output.  I don't know exactly what SRF is, but on popular
+use of it is in Garmin vehicle information files, which tell a GPS receiver
+how to depict a vehicle on its display.
+
+<p>An SRF file can contain multiple images; each image in a multi-image
+Netpbm input stream becomes one image in the SRF.</p>
+
+<P><B>pamtosrf</B> does not care how many images there are or what their
+dimensions or content are.  However, a Garmin vehicle information file has
+specific requirements, so if you don't make your Netpbm input conform, neither
+will your SRF output.  For such a file, you should have two image: the first
+for 3D oblique views of the vehicle and the second for overhead views.  Each
+image is a horizontal concatenation of 36 square images, each rotated 10
+degrees from the previous, thereby covering the full 360 degree circle.
+You could create this concatenation with <b>pnmcat -lr</b> and you could
+create the invidual views with <b>pnmrotate</b>.
+</P>
+
+<p>One way to use <b>pamtosrf</b> is to get an SRF file, convert it to PAM
+with <b>srftopam</b>, manipulate it, then convert it back with
+<b>pamtosrf</b>.
+
+<p><i>netpbmfile</i> is the input stream, which defaults to Standard Input.
+Output is always on Standard Output.
+
+
+<h2 id="options">OPTIONS</h2>
+
+<dl>
+<dt><b>-verbose</b></dt>
+<dd>Issue informational messages about the input and the conversion process.
+</dd>
+
+</dl>
+
+<h2><a id="see_also">SEE ALSO</a></h2>
+
+<p>
+<ul>
+  <li><a href="srftopam.html">srftopam</a>
+  <li><a href="pnmcat.html">pnmcat</a></li>
+  <li><a href="pam.html">pam</a></p>
+  </ul>
+
+<h2 a="history">HISTORY</h2>
+
+<P><b>srftopam</b> was new in Netpbm 10.55 (June 2011).
+</p>
+
+</P>It was contributed by Mike Frysinger.
+
+<hr />
+
+<h2 id="index">Table Of Contents</h2>
+
+<ul>
+<li><a href="#synopsis">SYNOPSIS</a></li>
+<li><a href="#description">DESCRIPTION</a></li>
+<li><a href="#options">OPTIONS</a></li>
+<li><a href="#see_also">SEE ALSO</a></li>
+<li><a href="#history">HISTORY</a></li>
+</ul>
+
+</body>
+</html>
+
diff --git a/srftopam.html b/srftopam.html
new file mode 100644
index 00000000..7314c4e6
--- /dev/null
+++ b/srftopam.html
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<title>Srftopam User Manual</title>
+<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
+</head>
+
+<body>
+
+<h1>srftopam</h1>
+
+<p>Updated: 27 May 2011</p>
+
+<p><a href="#index">Table Of Contents</a></p>
+
+
+<h2>NAME</h2>
+
+<p>srftopam - convert a SRF image file to Netpbm images</p>
+
+
+<h2><a id="synopsis">SYNOPSIS</a></h2>
+
+<p><b>srftopam</b>
+[<b>-verbose</b>]
+[<i>netpbmfile</i>]
+
+
+<h2><a id="description">DESCRIPTION</a></h2>
+
+<p>This program is part of <a href="index.html">Netpbm</a>.</p>
+
+<p><b>srftopam</b> reads a a SRF image file as input and produces a
+multi-image stream of PAM images as output.
+
+<p>This program performs the inverse of the conversion that <b>pamtosrf</b>
+does.  See that program's manual for more information about SRF and
+the relationship between the SRF and Netpbm representation of the
+images.</p>
+
+<p><i>netpbmfile</i> is the input stream, which defaults to Standard Input.
+Output is always on Standard Output.
+
+
+<h2 id="options">OPTIONS</h2>
+
+<dl>
+<dt><b>-verbose</b></dt>
+<dd>Issue informational messages about the input and the conversion process.
+</dd>
+
+</dl>
+
+<h2><a id="see_also">SEE ALSO</a></h2>
+
+<p>
+<ul>
+  <li><a href="pamtosrf.html">pamtosrf</a>
+  <li><a href="pamdice.html">pamdice</a></li>
+  <li><a href="pamsplit.html">pamsplit</a></li>
+  <li><a href="pam.html">pam</a></p>
+  </ul>
+
+<h2 a="history">HISTORY</h2>
+
+<P><b>srftopam</b> was new in Netpbm 10.55 (June 2011).
+</p>
+
+</P>It was contributed by Mike Frysinger.
+
+
+<hr />
+
+<h2 id="index">Table Of Contents</h2>
+
+<ul>
+<li><a href="#synopsis">SYNOPSIS</a></li>
+<li><a href="#description">DESCRIPTION</a></li>
+<li><a href="#options">OPTIONS</a></li>
+<li><a href="#see_also">SEE ALSO</a></li>
+<li><a href="#history">HISTORY</a></li>
+</ul>
+
+</body>
+</html>
+