sourCEntral - mobile manpages

pdf

pamchannel

NAME

pamchannel - extract channels from a PAM image

SYNOPSIS

pamchannel [ -infile infile ] [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 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.

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.

SEE ALSO

pnm(5)

pdf