1Pamtosrf User Manual(0) Pamtosrf User Manual(0)
2
3
4
6 pamtosrf - convert a sequence of Netpbm images to a SRF image file
7
8
9
11 pamtosrf [-verbose] [netpbmfile]
12
13
14
16 This program is part of Netpbm(1).
17
18 pamtosrf reads a Netpbm image stream as input and produces a an SRF
19 image file as output. I don't know exactly what SRF is, but on popular
20 use of it is in Garmin vehicle information files, which tell a GPS
21 receiver how to depict a vehicle on its display.
22
23 An SRF file can contain multiple images; each image in a multi-image
24 Netpbm input stream becomes one image in the SRF.
25
26 pamtosrf does not care how many images there are or what their dimen‐
27 sions or content are. However, a Garmin vehicle information file has
28 specific requirements, so if you don't make your Netpbm input conform,
29 neither will your SRF output. For such a file, you should have two
30 image: the first for 3D oblique views of the vehicle and the second for
31 overhead views. Each image is a horizontal concatenation of 36 square
32 images, each rotated 10 degrees from the previous, thereby covering the
33 full 360 degree circle. You could create this concatenation with pnm‐
34 cat -lr and you could create the invidual views with pnmrotate.
35
36 One way to use pamtosrf is to get an SRF file, convert it to PAM with
37 srftopam, manipulate it, then convert it back with pamtosrf.
38
39 netpbmfile is the input stream, which defaults to Standard Input. Out‐
40 put is always on Standard Output.
41
42
43
45 In addition to the options common to all programs based on libnetpbm
46 (most notably -quiet, see
47 Common Options ⟨index.html#commonoptions⟩ ), pamtosrf recognizes the
48 following command line option:
49
50
51
52 -verbose
53 Issue informational messages about the input and the conversion
54 process.
55
56
57
58
59
61 ·
62
63 srftopam(1)
64
65 ·
66
67 pnmcat(1)
68
69 ·
70
71 pam(1)
72
73
74
76 srftopam was new in Netpbm 10.55 (June 2011).
77
78 It was contributed by Mike Frysinger.
79
81 This manual page was generated by the Netpbm tool 'makeman' from HTML
82 source. The master documentation is at
83
84 http://netpbm.sourceforge.net/doc/pamtosrf.html
85
86netpbm documentation 27 May 2011 Pamtosrf User Manual(0)