blob: a8913d6521ccb1205d107c4674db914fb7001f90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pamchannel User Manual</TITLE></HEAD>
<BODY>
<H1>pamchannel</H1>
Updated: 10 January 2006
<BR>
<A HREF="#index">Table Of Contents</A>
<H2>NAME</H2>
pamchannel - extract channels from a PAM image
<H2 id="synopsis">SYNOPSIS</H2>
<B>pamchannel</B>
[<B>-infile </B><I>infile</I>]
[<B>-tupletype </B><I>tupletype</I>]
[<I>channum</I> ...]
<P>Minimum unique abbreviation of option is acceptable. You may use double
hyphens instead of single hyphen to denote options. You may use white
space in place of the equals sign to separate an option name from its value.
<H2 id="description">DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><b>pamchannel</b> reads a PAM or PNM image as input and produces a
PAM image as output, consisting of the indicated channels (planes) of
the input.
<p>Each <i>channum</i> argument is the number of a channel of the input,
with the first channel being zero. The channels in the output are in the
order of these arguments.
<P>The output is the same dimensions as the input, except that the depth
is the number of <I>channum</I> arguments you supply. The tuple type
is a null string unless you specify the <B>-tupletype</B> option.
<p>This program works on multi-image streams, producing a
corresponding output stream. But before Netpbm 10.32 (February 2006),
it ignored every image after the first.
<P><B>pamstack</B> does the opposite of <B>pamchannel</B>: It takes multiple
PAM or PNM images as input and stacks their planes (channels) on top of
one another to yield a single PAM.
<H2 id="options">OPTIONS</H2>
<DL COMPACT>
<DT><B>-infile</B> <I>infile</I>
<DD>
This specifies the input file, which defaults to Standard Input. You
may specify <B>-</B> to select Standard Input explicitly.
<P>
This is a little unconventional for Netpbm programs, which usually
have the input file specification as an argument. For <B>pamchannel</B>,
the arguments are channel numbers.
<DT><B>-tupletype</B> <I>tupletype</I>
<DD>
This specified the tuple type name to be recorded in the output. You may
use any string up to 255 characters. Some programs recognize some names.
If you omit this option, the default tuple type name is null.
</DL>
<H2 id="seealso">SEE ALSO</H2>
<B><A HREF="pam.html">pam</A></B>
<B><A HREF="pamstack.html">pamstack</A></B>
<h2 id="history">HISTORY</h2>
<p><b>pamchannel</b> was new, along with the PAM format, in Netpbm
9.7 (August 2000).
<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#history">HISTORY</A>
</UL>
</BODY>
</HTML>
|