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
94
95
96
97
98
99
100
101
|
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it! If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pamtosrf User Manual" 1 "27 May 2011" "netpbm documentation"
.SH NAME
pamtosrf - convert a sequence of Netpbm images to a SRF image file
.UN synopsis
.SH SYNOPSIS
.PP
\fBpamtosrf\fP
[\fB-verbose\fP]
[\fInetpbmfile\fP]
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpamtosrf\fP 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.
.PP
An SRF file can contain multiple images; each image in a multi-image
Netpbm input stream becomes one image in the SRF.
.PP
\fBpamtosrf\fP 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 \fBpamcat -lr\fP and you could
create the individual views with \fBpnmrotate\fP.
.PP
One way to use \fBpamtosrf\fP is to get an SRF file, convert it to PAM
with \fBsrftopam\fP, manipulate it, then convert it back with
\fBpamtosrf\fP.
.PP
\fInetpbmfile\fP is the input stream, which defaults to Standard Input.
Output is always on Standard Output.
.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see
.UR index.html#commonoptions
Common Options
.UE
\&), \fBpamtosrf\fP recognizes the following
command line option:
.TP
\fB-verbose\fP
Issue informational messages about the input and the conversion process.
.UN seealso
.SH SEE ALSO
.IP \(bu
.BR "srftopam" (1)\c
\&
.IP \(bu
.BR "pamcat" (1)\c
\&
.IP \(bu
.BR "pam" (1)\c
\&
.UN history
.SH HISTORY
.PP
\fBsrftopam\fP was new in Netpbm 10.55 (June 2011).
.PP
It was contributed by Mike Frysinger.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source. The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pamtosrf.html
.PP
|