1Pamtable User Manual(0) Pamtable User Manual(0)
2
3
4
6 pamtable - print the raster as a table of numerical sample values
7
8
10 pamtable
11
12 [netpbmfile]
13
14
15
17 This program is part of Netpbm(1).
18
19 pamtable prints the raster of a Netpbm image as a table of numerical
20 sample values. For example, a 5-pixel wide, 2-pixel high rainbow
21 (black, red, green, blue, white) PPM image with maxval 255 would appear
22 as follows:
23
24 <span style="font-family: monospace">
25
26 0 0 0|255 0 0| 0 255 0| 0 0 255|255 255 255
27 0 0 0|255 0 0| 0 255 0| 0 0 255|255 255 255
28
29 </span>
30
31 If you care to see only certain rows or columns, use pamcut to filter
32 the input.
33
34 If you care to see only certain planes, use pamchannel to filter the
35 input.
36
37 pamtable prints vertical bars between tuples, unless there is only one
38 sample per tuple, in which case it prints a single space between
39 tuples.
40
41 pamtable prints a single space between samples within a tuple.
42
43 For each sample, pamtable prints the numerical value from the Netpbm
44 image, uninterpreted. It prints it in decimal, right justified in the
45 minimum number of spaces required to print the maxval of the image.
46
47 If you want the samples to print more densely, use pamdepth to reduce
48 the maxval (thus making the decimal numbers for the samples narrower).
49
50 The less program (not part of Netpbm) is good for browsing through the
51 table. Use its --chop-long-lines option and use cursor movement keys
52 to scroll around in the image.
53
54
55
57 The only possible argument is the name of the file containing the input
58 Netpbm image. This is optional; if you don't specify any arguments,
59 the input comes from Standard Input.
60
61
62
64 There are no command line options defined specifically for pamtable,
65 but it recognizes the options common to all programs based on libnetpbm
66 (See
67 Common Options ⟨index.html#commonoptions⟩ .)
68
69
71 pamfile(1), pamcut(1), pamchannel(1), pnm(1), pam(1), pamslice(1), ppm‐
72 toarbtxt(1), ppmtoterm(1),
73
74
75
77 pamtable was new in Netpbm 10.79 (June 2017).
78
80 This manual page was generated by the Netpbm tool 'makeman' from HTML
81 source. The master documentation is at
82
83 http://netpbm.sourceforge.net/doc/pamtable.html
84
85netpbm documentation 15 April 2017 Pamtable User Manual(0)