Table of Contents


ra_pr24 - convert RADIANCE picture to/from 24-bit rasterfile


ra_pr24 [ -r | -rgb ][ -g gamma ][ -e +/-stops ] [ input [ output ] ]


Ra_pr24 converts between RADIANCE and 24-bit pixrect rasterfile formats. The -g option specifies the exponent used in gamma correction; the default value is 2.2. An exponent of 1 turns gamma correction off. The -e option specifies an exposure compensation in f-stops (powers of two). Only integer stops are allowed, for efficiency. The -r option invokes a reverse conversion, from a 24-bit rasterfile to a RADIANCE picture. If the -rgb option is used, the output rasterfile will be in RGB byte-ordering rather than the more standard (for Sun) BGR ordering. Byte ordering is determined automatically for the reverse conversion. If the output file is missing, the standard output is used. If the input file is missing as well, the standard input is used.


Greg Ward


Only standard 24-bit color rasterfiles are read or written.


pfilt(1), ra_bn(1), ra_ppm(1), ra_pr(1), ra_t8(1), ra_t16(1), ra_tiff(1), ximage(1)

Header and Footer

RA_PR24(1) RADIANCE (11/15/93) RA_PR24(1)
Page 1 (printed 7/17/96)

Table of Contents