Table of Contents
mergechan - merge channels from several RLE files into a single output
stream
mergechan [ -a ] [ -o outfile ] infiles ...
Mergechan
takes input from several RLE files and combines them into a single output
stream. Each channel in the output stream comes from the respective filename
specified on the input (i.e., channel zero is taken from the first file,
channel one from the next, etc). The same file can be specified more than
once. If the -a flag is given, the channels are numbered from -1 (the alpha
channel) instead of zero. All of the input channels must have exactly the
same dimensions (use crop(1)
to adjust files to fit each other).
Mergechan
is typically used to introduce an alpha mask from another source into an
image, or combine color channels digitized independently.
If -o is specified,
the output will be written to outfile.
crop(1)
, rleswap(1)
, urt(1)
,
RLE(5)
.
John W. Peterson, University of Utah.
Mergechan is totally
ignorant of the color maps of the input files.
The restriction that all
input files must be the same size could probably be removed.
Table of Contents