Table of Contents
pamchannel - extract channels from a PAM image
pamchannel
[ -infile infile ] [channum] ...
All options may be abbreviated to the shortest
unique prefix.
Reads a PAM or PNM image as input. Produces a
PAM image as output, consisting of the indicated channels of the input.
The output is the same dimensions as the input, except that the depth
is the number of channum arguments you supply. The tuple type is a null
string.
- -infile infile
- This specifies the input file, which defaults
to Standard Input. You may specify - to select Standard Input explicitly.
This is a little unconventional for Netpbm programs, which usually have
the input file specification as an argument. For pamchannel, the arguments
are channel numbers.
pnm(5)
Table of Contents