12 |
|
.br |
13 |
|
.B getinfo |
14 |
|
- |
15 |
+ |
.br |
16 |
+ |
.B getinfo |
17 |
+ |
.B -a |
18 |
+ |
.B "info_line1 .." |
19 |
+ |
.br |
20 |
+ |
.B getinfo |
21 |
+ |
.B -c |
22 |
+ |
.B "command .." |
23 |
|
.SH DESCRIPTION |
24 |
|
.I Getinfo |
25 |
|
reads the header of each RADIANCE |
40 |
|
prints the bounding cube (xmin ymin zmin size). |
41 |
|
For a picture, |
42 |
|
.I "getinfo \-d" |
43 |
< |
prints the y and x resolution (-Y yres +X xres). |
43 |
> |
prints the y and x resolution (\-Y yres +X xres). |
44 |
|
If no |
45 |
|
.I file |
46 |
|
is given, the standard input is read. |
47 |
|
.PP |
48 |
< |
The second form of getinfo with a hyphen simply removes the header |
48 |
> |
The second form of |
49 |
> |
.I getinfo |
50 |
> |
with a hyphen simply removes the header |
51 |
|
and copies the body of the file from the standard |
52 |
|
input to the standard output. |
53 |
+ |
.PP |
54 |
+ |
The third form of |
55 |
+ |
.I "getinfo \-a" |
56 |
+ |
adds one or more header lines to the standard input. |
57 |
+ |
These lines are given as arguments to |
58 |
+ |
.I getinfo, |
59 |
+ |
and must be quoted if they contain spaces. |
60 |
+ |
.PP |
61 |
+ |
The fourth form of |
62 |
+ |
.I "getinfo \-c" |
63 |
+ |
is followed by a command and its arguments, which is executed |
64 |
+ |
on the data segment of the standard input. |
65 |
+ |
The header is passed along, with the addition of the command |
66 |
+ |
at the end. |
67 |
+ |
This is roughly equivalent to the following sequence, but does not |
68 |
+ |
require the input to be in a file: |
69 |
+ |
.IP "" .2i |
70 |
+ |
( getinfo < input ; getinfo - < input | command .. ) |
71 |
|
.SH EXAMPLE |
72 |
< |
To print the header information from scene1.oct and scene2.pic: |
72 |
> |
To print the header information from scene1.oct and scene2.hdr: |
73 |
|
.IP "" .2i |
74 |
< |
getinfo scene1.oct scene2.pic |
74 |
> |
getinfo scene1.oct scene2.hdr |
75 |
|
.SH AUTHOR |
76 |
|
Greg Ward |
77 |
|
.SH "SEE ALSO" |
78 |
< |
oconv(1), pfilt(1), rhinfo(1), rpict(1), rvu(1) |
78 |
> |
oconv(1), pfilt(1), rcalc(1), rhinfo(1), rpict(1), rvu(1) |