1Pamchannel User Manual(0) Pamchannel User Manual(0)
2
3
4
6 pamchannel - extract channels from a PAM image
7
8
10 pamchannel [-infile infile] [-tupletype tupletype] [channum ...]
11
12 Minimum unique abbreviation of option is acceptable. You may use dou‐
13 ble hyphens instead of single hyphen to denote options. You may use
14 white space in place of the equals sign to separate an option name from
15 its value.
16
17
19 This program is part of Netpbm(1).
20
21 pamchannel reads a PAM or PNM image as input and produces a PAM image
22 as output, consisting of the indicated channels (planes) of the input.
23
24 The output is the same dimensions as the input, except that the depth
25 is the number of channum arguments you supply. The tuple type is a
26 null string unless you specify the -tupletype option.
27
28 This program works on multi-image streams, producing a corresponding
29 output stream. But before Netpbm 10.32 (February 2006), it ignored
30 every image after the first.
31
32 pamstack does the opposite of pamchannel: It takes multiple PAM or PNM
33 images as input and stacks their planes (channels) on top of one
34 another to yield a single PAM.
35
36
38 -infile infile
39 This specifies the input file, which defaults to Standard Input.
40 You may specify - to select Standard Input explicitly.
41
42 This is a little unconventional for Netpbm programs, which usu‐
43 ally have the input file specification as an argument. For pam‐
44 channel, the arguments are channel numbers.
45
46
47 -tupletype tupletype
48 This specified the tuple type name to be recorded in the output.
49 You may use any string up to 255 characters. Some programs rec‐
50 ognize some names. If you omit this option, the default tuple
51 type name is null.
52
53
54
56 pam(1) pamstack(1)
57
58
60 pamchannel was new, along with the PAM format, in Netpbm 9.7 (August
61 2000).
62
63
64
65netpbm documentation 10 January 2006 Pamchannel User Manual(0)