pamchannel

Updated: 01 May 2002
Index  

NAME

pamchannel - extract channels from a PAM image

 

SYNOPSIS

pamchannel [-infile infile] [-tupletype tupletype] [channum ...]

All options may be abbreviated to the shortest unique prefix.

 

DESCRIPTION

Reads a PAM or PNM image as input. Produces a PAM image as output, consisting of the indicated channels (planes) 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 unless you specify the -tupletype option.

pamstack does the opposite of pamchannel: It takes multiple PAM or PNM images as input and stacks their planes (channels) on top of one another to yield a single PAM.

 

OPTIONS

-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.

-tupletype tupletype
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.
 

SEE ALSO

pam pamstack


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO