109 lines
2.8 KiB
HTML
109 lines
2.8 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of pamstack</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>pamstack</H1>
|
|
Section: User Commands (1)<BR>Updated: 01 May 2002<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pamstack - stack planes of multiple PAM images into one PAM image
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>pamstack</B>
|
|
|
|
[<B>-tupletype </B><I>tupletype</I>]
|
|
|
|
[<I>inputfilespec</I>]
|
|
|
|
<P>
|
|
All options may be abbreviated to the shortest unique prefix.
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Reads multiple PAM or PNM images as input. Produces a PAM image as output,
|
|
consisting of all the planes (channels) of the inputs, stacked in the order
|
|
specified.
|
|
<P>
|
|
The output is the same dimensions as the inputs, except that the depth is
|
|
the sum of the depths of the inputs. It has the same maxval.
|
|
<B>pamstack</B>
|
|
|
|
fails if the inputs are not all the same width, height, and maxval. The
|
|
tuple type is a null string unless you specify the
|
|
<B>-tupletype</B>
|
|
|
|
option.
|
|
<P>
|
|
<B>pamchannel</B>
|
|
|
|
does the opposite of
|
|
<B>pamstack:</B>
|
|
|
|
It extracts individual planes from a single PAM.
|
|
<P>
|
|
Use
|
|
<B>pamtopnm</B>
|
|
|
|
to convert a suitable PAM image to a more traditional PNM (PBM, PGM, or
|
|
PPM) image.
|
|
<P>
|
|
One example of using
|
|
<B>pamstack</B>
|
|
|
|
is that some Netpbm programs accept as input a PAM that represents graphic
|
|
image with transparency information -- tuple type "RGBA". In Netpbm, such
|
|
images were traditionally represented as two images - a PPM for the color
|
|
and a PGM for the transparency. To convert a PPM/PGM pair into PAM(RGBA)
|
|
input that newer programs require, do something like this:
|
|
<P>
|
|
pamstack -tupletype=RGBA myimage.ppm myalpha.pgm | pamtouil >myimage.uil
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><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.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+pam">pam</A></B>(5)
|
|
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Copyright (C) by Bryan Henderson, San Jose CA 2000.08.05
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="5"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="6"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="7"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:21 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|