.TL Tgatoppm User Manual .SH 1 tgatoppm .LP Updated: 02 April 2000 .br Table Of Contents .SH 2 NAME .LP tgatoppm - convert TrueVision Targa file to a PPM image .SH 2 SYNOPSIS .LP \fBtgatoppm\fR [\fB--alphaout=\fR{\fIalpha-filename\fR,\fB-\fR}] [\fB--headerdump\fR] \fItga-filename\fR .LP All options can be abbreviated to their shortest unique prefix. .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBtgatoppm\fR reads a TrueVision Targa file as input and produces a PPM image as output. .SH 2 OPTIONS .LP .RS .IP "\fB--alphaout=\fR\fIalpha-filename\fR" \fBtgatoppm \fR 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\fR file contains all zero (transparent) alpha values. If you don't specify \fB--alphaout\fR, \fBtgatoppm\fR does not generate an alpha file, and if the input image has an alpha channel, \fBtgatoppm\fR simply discards it. .LP If you specify \fB-\fR as the filename, \fBtgatoppm\fR writes the alpha output to Standard Output and discards the image. .LP See \fBpamcomp\fR for one way to use the alpha output file. .IP "\fB--headerdump\fR" Causes \fBtgatoppm\fR to dump information from the TGA header to Standard Error. .RE .SH 2 SEE ALSO .LP \fBppmtotga\fR, \fBpamcomp\fR, \fBppm\fR .SH 2 AUTHOR .LP .LP Partially based on tga2rast, version 1.0, by Ian J. MacPhedran. .LP Copyright (C) 1989 by Jef Poskanzer. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP