.TH RA_BMP 1 3/25/04 RADIANCE .SH NAME ra_bmp - convert RADIANCE picture to/from Windows BMP image .SH SYNOPSIS .B ra_bmp [ .B \-b ][ .B "\-g gamma" ][ .B "\-e +/-stops" ] [ [ .B input|- [ .B output ] ] .br .B ra_bmp .B \-r [ .B "\-g gamma" ][ .B "\-e +/-stops" ] [ [ .B input|- [ .B output ] ] .SH DESCRIPTION .I Ra_bmp converts between RADIANCE and a Windows BMP image. The .I \-b option produces 8-bit grayscale output rather than 24-bit RGB. The .I \-g option specifies the exponent used in gamma correction; the default value is 2.2. The .I \-e option specifies an exposure compensation in f-stops (powers of two and proceeded by +/-). Only integer stops are allowed, for efficiency. The .I \-r option invokes a reverse conversion, from a Windows BMP image to a RADIANCE picture. .I Ra_bmp can accept 16-bit or color-mapped BMP files on input, but cannot not produce them on output. .PP A hyphen ('-') may be specified to indicate standard input for either forward or reverse conversion so that an output file may be specified. If the BMP input is taken from the standard input or sent to the standard output, then the scanlines may be reversed from their usual ordering. This sometimes causes difficulties for programs attempting to interpret the resulting RADIANCE picture or BMP image, which may be rejected or displayed inverted. .SH AUTHOR Greg Ward .SH "SEE ALSO" pfilt(1), ra_ppm(1), ra_pr(1), ra_pr24(1), ra_t8(1), ra_t16(1), ra_tiff(1), ximage(1)