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 alpha channel val‐
29 ues in the input image. If the input image doesn't contain an
30 alpha channel, the alpha-filename file contains all zero (trans‐
31 parent) alpha values. If you don't specify --alphaout, tgatoppm
32 does not generate an alpha file, and if the input image has an
33 alpha channel, tgatoppm simply discards it.
34
35 If you specify - as the filename, tgatoppm writes the alpha out‐
36 put to Standard Output and discards the image.
37
38 See pamcomp(1)foronewaytouse the alpha output file.
39
40
41 --headerdump
42 Causes tgatoppm to dump information from the TGA header to Stan‐
43 dard Error.
44
45
46
47
49 ppmtotga(1), pamcomp(1), ppm(1)
50
51
53 Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
54
55 Copyright (C) 1989 by Jef Poskanzer.
56
57
58
59netpbm documentation 02 April 2000 Tgatoppm User Manual(0)