125 lines
2.6 KiB
HTML
125 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of tgatoppm</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>tgatoppm</H1>
|
|
Section: User Commands (1)<BR>Updated: 02 April 2000<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>
|
|
|
|
tgatoppm - convert TrueVision Targa file into a portable pixmap
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>tgatoppm</B>
|
|
|
|
[<B>--alphaout=</B>{<I>alpha-filename</I>,<B>-</B>}]
|
|
[<B>--headerdump</B>]
|
|
|
|
<I>tga-filename</I>
|
|
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Reads a TrueVision Targa file as input.
|
|
<A NAME="ixAAC"></A>
|
|
<A NAME="ixAAD"></A>
|
|
Produces a portable pixmap as output.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>--alphaout=</B><I>alpha-filename</I>
|
|
|
|
<DD>
|
|
<B>tgatoppm </B>
|
|
|
|
creates a PGM (portable graymap) file containing the alpha channel
|
|
values in the input image. If the input image doesn't contain an alpha
|
|
channel, the
|
|
<I>alpha-filename</I>
|
|
|
|
file contains all zero (transparent) alpha values. If you don't specify
|
|
<B>--alphaout</B>,
|
|
|
|
<B>tgatoppm</B>
|
|
|
|
does not generate an alpha file, and if the input image has an alpha channel,
|
|
<B>tgatoppm</B>
|
|
|
|
simply discards it.
|
|
<P>
|
|
If you specify
|
|
<B>-</B>
|
|
|
|
as the filename,
|
|
<B>tgatoppm</B>
|
|
|
|
writes the alpha output to Standard Output and discards the image.
|
|
<P>
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmcomp">pnmcomp</A></B>(1)
|
|
|
|
for one way to use the alpha output file.
|
|
<DT id="2"><B>--headerdump</B>
|
|
|
|
<DD>
|
|
Causes the header information to be dumped to stderr.
|
|
</DL>
|
|
<P>
|
|
|
|
All options can be abbreviated to their shortest unique prefix.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
Should really be in PNM, not PPM.
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+ppmtotga">ppmtotga</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmcomp">pnmcomp</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A></B>(5)
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
|
|
<P>
|
|
Copyright (C) 1989 by Jef Poskanzer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">BUGS</A><DD>
|
|
<DT id="8"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="9"><A HREF="#lbAH">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:28 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|