summary refs log tree commit diff
path: root/pamtosrf.html
blob: a2c6330b4c4960f5390c6160caece534d0125a8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pamtosrf User Manual</title></head>
<body>
<h1>pamtosrf</h1>
Updated: 27 May 2011
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
pamtosrf - convert a sequence of Netpbm images to a SRF image file


<h2 id="synopsis">SYNOPSIS</h2>

<p><b>pamtosrf</b>
[<b>-verbose</b>]
[<i>netpbmfile</i>]


<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<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><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>pamcat -lr</b> and you could
create the invidual views with <b>pnmrotate</b>.


<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>

<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>pamtosrf</b> recognizes the following
command line option:

<dl>
<dt><b>-verbose</b></dt>
<dd>Issue informational messages about the input and the conversion process.
</dd>

</dl>

<h2 id="seealso">SEE ALSO</h2>

<ul>
  <li><a href="srftopam.html">srftopam</a>
  <li><a href="pamcat.html">pamcat</a>
  <li><a href="pam.html">pam</a>
  </ul>

<h2 id="history">HISTORY</h2>

<p><b>srftopam</b> was new in Netpbm 10.55 (June 2011).

<p>It was contributed by Mike Frysinger.

<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="#seealso">SEE ALSO</a>
<li><a href="#history">HISTORY</a>
</ul>

</body>
</html>