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 Netpbm image as input and produces a PAM image as
22 output, consisting of the indicated channels (planes) of the input.
23
24 Each channum argument is the number of a channel of the input, with the
25 first channel being zero. The channels in the output are in the order
26 of these arguments.
27
28 The output is the same dimensions as the input, except that the depth
29 is the number of channum arguments you supply. The tuple type is a
30 null string unless you specify the -tupletype option.
31
32 This program works on multi-image streams, producing a corresponding
33 output stream. But before Netpbm 10.32 (February 2006), it ignored
34 every image after the first.
35
36 pamstack does the opposite of pamchannel: It takes multiple PAM or PNM
37 images as input and stacks their planes (channels) on top of one
38 another to yield a single PAM.
39
40
42 In addition to the options common to all programs based on libnetpbm
43 (most notably -quiet, see
44 Common Options ⟨index.html#commonoptions⟩ ), pamchannel recognizes the
45 following command line options:
46
47
48
49
50 -infile infile
51 This specifies the input file, which defaults to Standard Input.
52 You may specify - to select Standard Input explicitly.
53
54 This is a little unconventional for Netpbm programs, which usu‐
55 ally have the input file specification as an argument. For pam‐
56 channel, the arguments are channel numbers.
57
58
59 -tupletype tupletype
60 This specified the tuple type name to be recorded in the output.
61 You may use any string up to 255 characters. Some programs rec‐
62 ognize some names. If you omit this option, the default tuple
63 type name is null.
64
65
66
68 pam(1) pamstack(1)
69
70
72 pamchannel was new, along with the PAM format, in Netpbm 9.7 (August
73 2000).
74
76 This manual page was generated by the Netpbm tool 'makeman' from HTML
77 source. The master documentation is at
78
79 http://netpbm.sourceforge.net/doc/pamchannel.html
80
81netpbm documentation 10 January 2006 Pamchannel User Manual(0)