1Tgatoppm User Manual(0) Tgatoppm User Manual(0)
2
3
4
6 tgatoppm - convert TrueVision Targa file to a PPM image
7
8
10 tgatoppm [--alphaout={alpha-filename,-}] [--headerdump] tga-
11 filename
12
13
15 This program is part of Netpbm(1).
16
17 tgatoppm reads a TrueVision Targa file as input and produces a PPM
18 image as output.
19
20
22 All options can be abbreviated to their shortest unique prefix.
23
24
25
26
27 --alphaout=alpha-filename
28 tgatoppm creates a PGM image containing the transparency chan‐
29 nel values in the input image. If the input image doesn't con‐
30 tain an transparency channel, the alpha-filename file contains
31 all zero (transparent) transparency values. If you don't spec‐
32 ify --alphaout, tgatoppm does not generate an alpha file, and if
33 the input image has a transparency channel, tgatoppm simply dis‐
34 cards it.
35
36 If you specify - as the filename, tgatoppm writes the trans‐
37 parency output to Standard Output and discards the image.
38
39 See pamcomp(1) for one way to use the transparency output file.
40
41
42 --headerdump
43 Causes tgatoppm to dump information from the TGA header to Stan‐
44 dard Error.
45
46
47
48
50 ppmtotga(1), pamcomp(1), ppm(1)
51
52
54 Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
55
56 Copyright (C) 1989 by Jef Poskanzer.
57
59 This manual page was generated by the Netpbm tool 'makeman' from HTML
60 source. The master documentation is at
61
62 http://netpbm.sourceforge.net/doc/tgatoppm.html
63
64netpbm documentation 02 April 2000 Tgatoppm User Manual(0)