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 In addition to the options common to all programs based on libnetpbm
23 (most notably -quiet, see
24 Common Options ⟨index.html#commonoptions⟩ ), tgatoppm recognizes the
25 following command line options:
26
27 All options can be abbreviated to their shortest unique prefix.
28
29
30
31
32 --alphaout=alpha-filename
33 tgatoppm creates a PGM image containing the transparency chan‐
34 nel values in the input image. If the input image doesn't con‐
35 tain a transparency channel, the alpha-filename file contains
36 all zero (transparent) transparency values. If you don't spec‐
37 ify --alphaout, tgatoppm does not generate an alpha file, and if
38 the input image has a transparency channel, tgatoppm simply dis‐
39 cards it.
40
41 If you specify - as the filename, tgatoppm writes the trans‐
42 parency output to Standard Output and discards the image.
43
44 See pamcomp(1) for one way to use the transparency output file.
45
46
47 --headerdump
48 Causes tgatoppm to dump information from the TGA header to Stan‐
49 dard Error.
50
51
52
53
55 ppmtotga(1), pamcomp(1), ppm(1)
56
57
59 Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
60
61 Copyright (C) 1989 by Jef Poskanzer.
62
64 This manual page was generated by the Netpbm tool 'makeman' from HTML
65 source. The master documentation is at
66
67 http://netpbm.sourceforge.net/doc/tgatoppm.html
68
69netpbm documentation 02 April 2000 Tgatoppm User Manual(0)