Section: User Commands (1)
Updated: 02 April 2000
Return to Main Contents
tgatoppm - convert TrueVision Targa file into a portable pixmap
Reads a TrueVision Targa file as input.
Produces a portable pixmap as output.
creates a PGM (portable graymap) file containing the alpha channel
values in the input image. If the input image doesn't contain an alpha
file contains all zero (transparent) alpha values. If you don't specify
does not generate an alpha file, and if the input image has an alpha channel,
simply discards it.
If you specify
as the filename,
writes the alpha output to Standard Output and discards the image.
for one way to use the alpha output file.
Causes the header information to be dumped to stderr.
All options can be abbreviated to their shortest unique prefix.
Should really be in PNM, not PPM.
Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
Copyright (C) 1989 by Jef Poskanzer.
- SEE ALSO
This document was created by
using the manual pages.
Time: 05:52:33 GMT, January 18, 2018