1\
2.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
3.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
4.\" the corresponding HTML page on the Netpbm website, generate a patch
5.\" against that, and send it to the Netpbm maintainer.
6.TH "Tgatoppm User Manual" 0 "02 April 2000" "netpbm documentation"
7
8.UN lbAB
9.SH NAME
10
11tgatoppm - convert TrueVision Targa file to a PPM image
12
13.UN lbAC
14.SH SYNOPSIS
15
16\fBtgatoppm\fP
17	[\fB--alphaout=\fP{\fIalpha-filename\fP,\fB-\fP}]
18	[\fB--headerdump\fP] \fItga-filename\fP
19
20.UN lbAD
21.SH DESCRIPTION
22.PP
23This program is part of
24.BR "Netpbm" (1)\c
25\&.
26.PP
27\fBtgatoppm\fP reads a TrueVision Targa file as input and produces
28a PPM image as output.
29
30.UN lbAE
31.SH OPTIONS
32.PP
33All options can be abbreviated to their shortest unique prefix.
34
35
36
37.TP
38\fB--alphaout=\fP\fIalpha-filename\fP
39\fBtgatoppm \fP creates a PGM image containing the transparency channel
40values in the input image.  If the input image doesn't contain a
41transparency channel, the \fIalpha-filename\fP file contains all zero
42(transparent) transparency values.  If you don't specify \fB--alphaout\fP,
43\fBtgatoppm\fP does not generate an alpha file, and if the input
44image has a transparency channel, \fBtgatoppm\fP simply discards it.
45.sp
46If you specify \fB-\fP as the filename, \fBtgatoppm\fP writes the
47transparency output to Standard Output and discards the image.
48.sp
49See
50.BR "pamcomp" (1)\c
51\& for one way to use
52the transparency output file.
53
54.TP
55\fB--headerdump\fP
56Causes \fBtgatoppm\fP to dump information from the TGA header to
57Standard Error.
58
59
60
61.UN lbAF
62.SH SEE ALSO
63.BR "ppmtotga" (1)\c
64\&,
65.BR "pamcomp" (1)\c
66\&,
67.BR "ppm" (5)\c
68\&
69
70.UN lbAG
71.SH AUTHOR
72.PP
73Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
74.PP
75Copyright (C) 1989 by Jef Poskanzer.
76.SH DOCUMENT SOURCE
77This manual page was generated by the Netpbm tool 'makeman' from HTML
78source.  The master documentation is at
79.IP
80.B http://netpbm.sourceforge.net/doc/tgatoppm.html
81.PP