\ .\" This man page was generated by the Netpbm tool 'makeman' from HTML source. .\" Do not hand-hack it! If you have bug fixes or improvements, please find .\" the corresponding HTML page on the Netpbm website, generate a patch .\" against that, and send it to the Netpbm maintainer. .TH "Tgatoppm User Manual" 0 "02 April 2000" "netpbm documentation" .UN lbAB .SH NAME tgatoppm - convert TrueVision Targa file to a PPM image .UN lbAC .SH SYNOPSIS \fBtgatoppm\fP [\fB--alphaout=\fP{\fIalpha-filename\fP,\fB-\fP}] [\fB--headerdump\fP] \fItga-filename\fP .UN lbAD .SH DESCRIPTION .PP This program is part of .BR Netpbm (1) . .PP \fBtgatoppm\fP reads a TrueVision Targa file as input and produces a PPM image as output. .UN lbAE .SH OPTIONS .PP All options can be abbreviated to their shortest unique prefix. .TP \fB--alphaout=\fP\fIalpha-filename\fP \fBtgatoppm \fP creates a PGM image containing the alpha channel values in the input image. If the input image doesn't contain an alpha channel, the \fIalpha-filename\fP file contains all zero (transparent) alpha values. If you don't specify \fB--alphaout\fP, \fBtgatoppm\fP does not generate an alpha file, and if the input image has an alpha channel, \fBtgatoppm\fP simply discards it. .sp If you specify \fB-\fP as the filename, \fBtgatoppm\fP writes the alpha output to Standard Output and discards the image. .sp See .BR pamcomp (1) for one way to use the alpha output file. .TP \fB--headerdump\fP Causes \fBtgatoppm\fP to dump information from the TGA header to Standard Error. .UN lbAF .SH SEE ALSO .BR ppmtotga (1) , .BR pamcomp (1) , .BR ppm (5) .UN lbAG .SH AUTHOR .PP Partially based on tga2rast, version 1.0, by Ian J. MacPhedran. .PP Copyright (C) 1989 by Jef Poskanzer.