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
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
30
31
32 If you care to see only certain rows or columns, use pamcut to filter
33 the input.
34
35 If you care to see only certain planes, use pamchannel to filter the
36 input.
37
38 pamtable prints vertical bars between tuples, unless there is only one
39 sample per tuple, in which case it prints a single space between tu‐
40 ples.
41
42 pamtable prints a single space between samples within a tuple.
43
44 For each sample, pamtable prints the numerical value from the Netpbm
45 image, uninterpreted. It prints it in decimal, right justified in the
46 minimum number of spaces required to print the maxval of the image.
47
48 If you want the samples to print more densely, use pamdepth to reduce
49 the maxval (thus making the decimal numbers for the samples narrower).
50
51 The less program (not part of Netpbm) is good for browsing through the
52 table. Use its --chop-long-lines option and use cursor movement keys
53 to scroll around in the image.
54
55
56
58 The only possible argument is the name of the file containing the input
59 Netpbm image. This is optional; if you don't specify any arguments,
60 the input comes from Standard Input.
61
62
63
65 There are no command line options defined specifically for pamtable,
66 but it recognizes the options common to all programs based on libnetpbm
67 (See
68 Common Options ⟨index.html#commonoptions⟩ .)
69
70
72 pamfile(1), pamcut(1), pamchannel(1), pnm(1), pam(1), pamslice(1), ppm‐
73 toarbtxt(1), ppmtoterm(1),
74
75
76
78 pamtable was new in Netpbm 10.79 (June 2017).
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/pamtable.html
85
86netpbm documentation 15 April 2017 Pamtable User Manual(0)