1 |
greg |
1.1 |
.\" RCSid "$Id" |
2 |
|
|
.TH META2TGA 1 6/24/98 RADIANCE |
3 |
|
|
.SH NAME |
4 |
|
|
meta2tga - convert metafile to Targa image format |
5 |
|
|
.SH SYNOPSIS |
6 |
|
|
.B meta2tga |
7 |
|
|
[ |
8 |
|
|
.B \-c | \-r |
9 |
|
|
][ |
10 |
|
|
.B "\-x width" |
11 |
|
|
][ |
12 |
|
|
.B "\-y height" |
13 |
|
|
][ |
14 |
|
|
.B "\-m minrad" |
15 |
|
|
][ |
16 |
|
|
.B "\-o outname" |
17 |
|
|
] |
18 |
|
|
file .. |
19 |
|
|
.SH DESCRIPTION |
20 |
|
|
.I Meta2tga |
21 |
|
|
reads each metafile |
22 |
|
|
.I file |
23 |
|
|
in sequence and converts it to a compressed, color-mapped Targa file. |
24 |
|
|
The result is sent to the standard output (which must be redirected) |
25 |
|
|
unless the |
26 |
|
|
.I \-o |
27 |
|
|
option is used. |
28 |
|
|
The argument to the |
29 |
|
|
.I \-o |
30 |
|
|
option specifies the base file name, to which a page number and ".tga" is added |
31 |
|
|
as a suffix. |
32 |
|
|
Note that this option must be present in order to produce more than a single |
33 |
|
|
page of output. |
34 |
|
|
.PP |
35 |
|
|
The default output resolution is 400 by 400, but a different resolution |
36 |
|
|
can be given with the |
37 |
|
|
.I \-x |
38 |
|
|
and |
39 |
|
|
.I \-y |
40 |
|
|
options. |
41 |
|
|
.PP |
42 |
|
|
The |
43 |
|
|
.I \-m |
44 |
|
|
option can be used to set a minimum value for the line radius in pixels. |
45 |
|
|
This may be helpful for improving the readability of high resolution output. |
46 |
|
|
The default value is 0, which allows lines of one pixel thickness. |
47 |
|
|
.PP |
48 |
|
|
If the option |
49 |
|
|
.I \-c |
50 |
|
|
is specified, the input files are only conditioned for output, ie. |
51 |
|
|
expanded (see pexpand). |
52 |
|
|
This is useful if many copies of the same output is desired. |
53 |
|
|
If the option |
54 |
|
|
.I \-r |
55 |
|
|
is instead specified, the input is assumed already to be conditioned. |
56 |
|
|
If no input files are specified, the standard input is read. |
57 |
|
|
.SH EXAMPLE |
58 |
|
|
To convert the plots examp1.plt and examp2.plt to 1024x1024 Targa files: |
59 |
|
|
.IP "" .2i |
60 |
|
|
bgraph examp1.plt examp2.plt | meta2tga -o examp -x 1024 -y 1024 |
61 |
|
|
.SH FILES |
62 |
|
|
see pexpand(1) and psort(1) |
63 |
|
|
.SH AUTHOR |
64 |
|
|
Greg Ward |
65 |
|
|
.SH "SEE ALSO" |
66 |
|
|
bgraph(1), igraph(1), imagew(1), mx80(1), pexpand(1), |
67 |
|
|
psort(1), ra_t8(1), t4014(1) |