Debian Codegraph @

upstream/debian-unstable/man1/tgatoppm.1

raw
1 \
2 .\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
3 .\" Do not hand-hack it! If you have bug fixes or improvements, please find
4 .\" the corresponding HTML page on the Netpbm website, generate a patch
5 .\" against that, and send it to the Netpbm maintainer.
6 .TH "Tgatoppm User Manual" 1 "02 April 2000" "netpbm documentation"
7
8 .SH NAME
9
10 tgatoppm - convert TrueVision Targa file to a PPM image
11
12 .UN synopsis
13 .SH SYNOPSIS
14
15 \fBtgatoppm\fP
16 [\fB--alphaout=\fP{\fIalpha-filename\fP,\fB-\fP}]
17 [\fB--headerdump\fP] \fItga-filename\fP
18
19 .UN description
20 .SH DESCRIPTION
21 .PP
22 This program is part of
23 .BR "Netpbm" (1)\c
24 \&.
25 .PP
26 \fBtgatoppm\fP reads a TrueVision Targa file as input and produces
27 a PPM image as output.
28
29 .UN options
30 .SH OPTIONS
31 .PP
32 In addition to the options common to all programs based on libnetpbm
33 (most notably \fB-quiet\fP, see
34 .UR index.html#commonoptions
35 Common Options
36 .UE
37 \&), \fBtgatoppm\fP recognizes the following
38 command line options:
39 .PP
40 All options can be abbreviated to their shortest unique prefix.
41
42
43
44 .TP
45 \fB--alphaout=\fP\fIalpha-filename\fP
46 \fBtgatoppm \fP creates a PGM image containing the transparency channel
47 values in the input image. If the input image doesn't contain a
48 transparency channel, the \fIalpha-filename\fP file contains all zero
49 (transparent) transparency values. If you don't specify \fB--alphaout\fP,
50 \fBtgatoppm\fP does not generate an alpha file, and if the input
51 image has a transparency channel, \fBtgatoppm\fP simply discards it.
52 .sp
53 If you specify \fB-\fP as the filename, \fBtgatoppm\fP writes the
54 transparency output to Standard Output and discards the image.
55 .sp
56 See
57 .BR "pamcomp" (1)\c
58 \& for one way to use
59 the transparency output file.
60
61 .TP
62 \fB--headerdump\fP
63 Causes \fBtgatoppm\fP to dump information from the TGA header to
64 Standard Error.
65
66
67
68 .UN seealso
69 .SH SEE ALSO
70 .BR "ppmtotga" (1)\c
71 \&,
72 .BR "pamcomp" (1)\c
73 \&,
74 .BR "ppm" (1)\c
75 \&
76
77 .UN author
78 .SH AUTHOR
79 .PP
80 Partially based on tga2rast, version 1.0, by Ian J. MacPhedran.
81 .PP
82 Copyright (C) 1989 by Jef Poskanzer.
83 .SH DOCUMENT SOURCE
84 This manual page was generated by the Netpbm tool 'makeman' from HTML
85 source. The master documentation is at
86 .IP
87 .B http://netpbm.sourceforge.net/doc/tgatoppm.html
88 .PP