about summary refs log tree commit diff
path: root/tgatoppm.html
blob: 45db603b7679c7035998d3c55649316dbc072535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Tgatoppm User Manual</TITLE></HEAD>
<BODY>
<H1>tgatoppm</H1>
Updated: 02 April 2000
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

tgatoppm - convert TrueVision Targa file to a PPM image

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>tgatoppm</B>
	[<B>--alphaout=</B>{<I>alpha-filename</I>,<B>-</B>}]
	[<B>--headerdump</B>] <I>tga-filename</I>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>tgatoppm</b> reads a TrueVision Targa file as input and produces
a PPM image as output.

<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<P>All options can be abbreviated to their shortest unique prefix.

<DL COMPACT>

<DT><B>--alphaout=</B><I>alpha-filename</I>

<DD><B>tgatoppm </B> creates a PGM image containing the transparency channel
values in the input image.  If the input image doesn't contain a
transparency channel, the <I>alpha-filename</I> file contains all zero
(transparent) transparency values.  If you don't specify <B>--alphaout</B>,
<B>tgatoppm</B> does not generate an alpha file, and if the input
image has a transparency channel, <B>tgatoppm</B> simply discards it.

<P>If you specify <B>-</B> as the filename, <B>tgatoppm</B> writes the
transparency output to Standard Output and discards the image.

<P>See <B><A HREF="pamcomp.html">pamcomp</A></B> for one way to use
the transparency output file.

<DT><B>--headerdump</B>

<DD>Causes <b>tgatoppm</b> to dump information from the TGA header to
Standard Error.

</DL>

<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

<B><A HREF="ppmtotga.html">ppmtotga</A></B>,
<B><A HREF="pamcomp.html">pamcomp</A></B>,
<B><A HREF="ppm.html">ppm</A></B>

<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

<p>Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.

<P>Copyright (C) 1989 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">SEE ALSO</A>
<LI><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>