tgatoppm1
Convert truevision targa file to a ppm image
Usage
tgatoppm
[--alphaout={alpha-filename,-}]
[--headerdump] tga-filename
Overview
This program is part of Netpbm(1) .
tgatoppm reads a TrueVision Targa file as input and produces a PPM image as output.
Options
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options ⟨index.html#commonoptions⟩ ), tgatoppm recognizes the following command line options:
All options can be abbreviated to their shortest unique prefix.
-
--alphaout=alpha-filename -
tgatoppm creates a PGM image containing the transparency channel values in the input image. If the input image doesn't contain a transparency channel, the alpha-filename file contains all zero (transparent) transparency values. If you don't specify
--alphaout,tgatoppmdoes not generate an alpha file, and if the input image has a transparency channel,tgatoppmsimply discards it.If you specify
-as the filename,tgatoppmwrites the transparency output to Standard Output and discards the image.See pamcomp(1) for one way to use the transparency output file.
-
--headerdump -
Causes
tgatoppmto dump information from the TGA header to Standard Error.
Document source
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
-
http://netpbm.sourceforge.net/doc/tgatoppm.html
Releases
16 releases since Debian 2.0 (Hamm); the text changed 4 times.
--alphaout since Debian 3.0 (Woody);
--headerdump since Debian 3.0 (Woody).
-debug until Debian 2.2 (Potato).