ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/ra_tiff.1
Revision: 1.4
Committed: Fri Mar 26 22:58:20 2004 UTC (20 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1, rad3R6, rad3R6P1, rad3R8
Changes since 1.3: +1 -1 lines
Log Message:
Added support to ra_bmp for 16-bit images and RLE, plus created man page

File Contents

# Content
1 .\" SCCSid "@(#)ra_tiff.1 2.3 8/29/97 LBL"
2 .TH RA_TIFF 1 8/29/97 RADIANCE
3 .SH NAME
4 ra_tiff - convert RADIANCE picture to/from a TIFF color or greyscale image
5 .SH SYNOPSIS
6 .B ra_tiff
7 [
8 .B "-z|-L|-l|-f|-w"
9 ][
10 .B -b
11 ][
12 .B "-e +/-stops"
13 ][
14 .B "-g gamma"
15 ]
16 {
17 .B "in.pic|-"
18 }
19 .B out.tif
20 .br
21 .B "ra_tiff -r"
22 [
23 .B \-x
24 ][
25 .B "\-g gamma"
26 ][
27 .B "\-e +/-stops"
28 ]
29 .B in.tif
30 [
31 .B "out.pic|-"
32 ]
33 .SH DESCRIPTION
34 .I Ra_tiff
35 converts between RADIANCE and TIFF image formats.
36 The
37 .I \-g
38 option specifies the exponent used in gamma correction;
39 the default value is 2.2, which is the recommended value
40 for TIFF images.
41 .PP
42 The
43 .I \-b
44 option can be used to specify an 8-bit greyscale TIFF output file.
45 The type of input file is determined automatically.
46 .PP
47 The
48 .I \-z
49 option will result in LZW compression of the TIFF output file.
50 The
51 .I \-L
52 option specifies SGILOG compression, which is recommended
53 to capture the full dynamic range of the Radiance picture.
54 However, since many TIFF readers do not yet support this format,
55 use this option under advisement.
56 The
57 .I \-l
58 option specifies SGILOG24 compressed output, which has
59 less dynamic range than SGILOG, but may be smaller in some cases.
60 (It is usually larger.)\0
61 The
62 .I \-f
63 option specifies 32-bit IEEE floating-point/primary output, which
64 is the highest resolution format but results in very large files, since
65 each RGB pixel takes 96 bits (12 bytes) and does not compress well.
66 The
67 .I \-w
68 option specifies 16-bit/primary output, which is understood by
69 some photo editing software, such as Adobe Photoshop.
70 Decompression is automatically determined for TIFF input.
71 .PP
72 The
73 .I \-e
74 option specifies an exposure compensation in f-stops (powers of two).
75 Only integer stops are allowed, for efficiency.
76 .PP
77 The
78 .I \-r
79 option invokes a reverse conversion, from a TIFF image to
80 a RADIANCE picture.
81 The RADIANCE picture file can be taken from the standard input
82 or sent to the standard output by using a hyphen ('-') in place
83 of the file name, but the TIFF image must be to or from a file.
84 The
85 .I \-x
86 option can be used to specify an XYZE Radiance output file, rather
87 than the default RGBE.
88 .SH EXAMPLES
89 To convert a Radiance picture to SGILOG-compressed TIFF format:
90 .IP "" .2i
91 ra_tiff -L scene1.pic scene1.tif
92 .PP
93 To later convert this image back into Radiance and display using
94 human visibility tone-mapping:
95 .IP "" .2i
96 ra_tiff -r scene1.tif scene1.pic
97 .br
98 ximage -e human scene1.pic
99 .SH AUTHOR
100 Greg Ward Larson
101 .br
102 Sam Leffler
103 .SH ACKNOWLEDGEMENT
104 Work on this program was initiated and sponsored by the LESO
105 group at EPFL in Switzerland.
106 Additions for the SGILOG data encoding were sponsored by Silicon Graphics, Inc.
107 .SH BUGS
108 Many TIFF file subtypes are not supported.
109 .br
110 A gamma value other than 2.2 is not properly recorded or understood if
111 recorded in the TIFF file.
112 .SH "SEE ALSO"
113 pfilt(1), ra_bmp(1), ra_bn(1), ra_ppm(1), ra_pr(1), ra_pr24(1), ra_t8(1),
114 ra_t16(1), ximage(1)