1 |
greg |
1.2 |
.\" RCSid "$Id$" |
2 |
greg |
1.1 |
.TH RA_PR 1 11/15/93 RADIANCE |
3 |
|
|
.SH NAME |
4 |
|
|
ra_pr - convert RADIANCE picture to/from pixrect rasterfile |
5 |
|
|
.SH SYNOPSIS |
6 |
|
|
.B ra_pr |
7 |
|
|
[ |
8 |
|
|
.B \-d |
9 |
|
|
][ |
10 |
|
|
.B \-b |
11 |
|
|
][ |
12 |
|
|
.B "\-c ncolors" |
13 |
|
|
][ |
14 |
|
|
.B "\-g gamma" |
15 |
|
|
][ |
16 |
|
|
.B "\-e +/-stops" |
17 |
|
|
] |
18 |
|
|
.B input |
19 |
|
|
[ |
20 |
|
|
.B output |
21 |
|
|
] |
22 |
|
|
.br |
23 |
|
|
.B ra_pr |
24 |
|
|
.B \-r |
25 |
|
|
[ |
26 |
|
|
.B "\-g gamma" |
27 |
|
|
][ |
28 |
|
|
.B "\-e +/-stops" |
29 |
|
|
] |
30 |
|
|
[ |
31 |
|
|
.B input |
32 |
|
|
[ |
33 |
|
|
.B output |
34 |
|
|
] |
35 |
|
|
] |
36 |
|
|
.SH DESCRIPTION |
37 |
|
|
.I Ra_pr |
38 |
|
|
converts between RADIANCE and pixrect rasterfile formats. |
39 |
|
|
In the default mode, a RADIANCE picture is converted to a pixrect |
40 |
|
|
rasterfile of the same horizontal and vertical dimensions with |
41 |
|
|
8-bits per pixel. |
42 |
|
|
The |
43 |
|
|
.I \-d |
44 |
|
|
option turns off dithering. |
45 |
|
|
The |
46 |
|
|
.I \-b |
47 |
|
|
option converts the image to black and white, for improved quality |
48 |
|
|
on greyscale monitors. |
49 |
|
|
Only with this option can the input be taken from stdin. |
50 |
|
|
The |
51 |
|
|
.I \-c |
52 |
|
|
option allows fewer than 256 colors. |
53 |
|
|
The |
54 |
|
|
.I \-g |
55 |
|
|
option specifies the exponent used in gamma correction; |
56 |
|
|
the default value is 2.2. |
57 |
|
|
An exponent of 1.0 turns gamma correction off. |
58 |
|
|
The |
59 |
|
|
.I \-e |
60 |
|
|
option specifies an exposure compensation in f-stops (powers of two). |
61 |
|
|
Only integer stops are allowed, for efficiency. |
62 |
|
|
The |
63 |
|
|
.I \-r |
64 |
|
|
option invokes a reverse conversion, from a pixrect rasterfile to |
65 |
|
|
a RADIANCE picture. |
66 |
|
|
If the output file is missing, the standard output is used. |
67 |
|
|
.SH AUTHORS |
68 |
|
|
Greg Ward |
69 |
|
|
.br |
70 |
|
|
Paul Heckbert provided the code for color quantization |
71 |
|
|
.SH BUGS |
72 |
|
|
Only standard 8-bit color rasterfiles are read or written. |
73 |
|
|
.SH "SEE ALSO" |
74 |
|
|
pfilt(1), ra_bn(1), ra_ppm(1), ra_pr24(1), ra_t8(1), ra_t16(1), |
75 |
|
|
ra_tiff(1), ximage(1) |