| 1 | 
greg | 
1.4 | 
.\" RCSid "$Id: ra_pict.1,v 1.3 2007/09/04 17:36:40 greg Exp $" | 
| 2 | 
greg | 
1.1 | 
.TH RA_PICT 1 11/15/93 RADIANCE | 
| 3 | 
  | 
  | 
.SH NAME | 
| 4 | 
  | 
  | 
ra_pict - convert Radiance pictures to Macintosh PICT files | 
| 5 | 
  | 
  | 
.SH SYNOPSIS | 
| 6 | 
  | 
  | 
.B ra_pict | 
| 7 | 
  | 
  | 
[ | 
| 8 | 
  | 
  | 
.B \-e +/- | 
| 9 | 
  | 
  | 
.I stops | 
| 10 | 
  | 
  | 
] [ | 
| 11 | 
  | 
  | 
.B \-v | 
| 12 | 
  | 
  | 
] [ | 
| 13 | 
  | 
  | 
.B \-g | 
| 14 | 
  | 
  | 
.I gamma | 
| 15 | 
  | 
  | 
] [ | 
| 16 | 
  | 
  | 
.I infile | 
| 17 | 
  | 
  | 
[ | 
| 18 | 
  | 
  | 
.I outfile | 
| 19 | 
  | 
  | 
]] | 
| 20 | 
  | 
  | 
.SH DESCRIPTION | 
| 21 | 
  | 
  | 
.B Ra_pict | 
| 22 | 
  | 
  | 
converts a Radiance picture, as produced by | 
| 23 | 
  | 
  | 
.B rpict | 
| 24 | 
  | 
  | 
(1) to a Macintosh PICT file. The picture will be a 24 bit PICT 2 picture, | 
| 25 | 
  | 
  | 
using a single bit map (DirectRect). | 
| 26 | 
  | 
  | 
.SH OPTIONS | 
| 27 | 
  | 
  | 
.TP 10n | 
| 28 | 
  | 
  | 
.BI \-g " gamma" | 
| 29 | 
  | 
  | 
This sets an explict gamma correction for the image. If it is not | 
| 30 | 
  | 
  | 
specified, the default value of 2.0 is used. | 
| 31 | 
  | 
  | 
.TP | 
| 32 | 
  | 
  | 
.B \-v | 
| 33 | 
  | 
  | 
Invokes verbose mode, and gives line on standard error giving the | 
| 34 | 
  | 
  | 
size of the picture and the gamma correction used. | 
| 35 | 
  | 
  | 
.TP | 
| 36 | 
  | 
  | 
.BI "\-e +/\-" " stops" | 
| 37 | 
  | 
  | 
Adjusts the exposure by stops. | 
| 38 | 
  | 
  | 
.TP | 
| 39 | 
  | 
  | 
.I infile | 
| 40 | 
  | 
  | 
Specifies the file to read the picture from. If none is specified, | 
| 41 | 
  | 
  | 
it takes it from standard input. If standard input is used, then | 
| 42 | 
  | 
  | 
the picture is sent to standard output. | 
| 43 | 
  | 
  | 
.TP | 
| 44 | 
  | 
  | 
.I outfile | 
| 45 | 
  | 
  | 
Specifies the file to send the PICT file to. If none is specified, | 
| 46 | 
  | 
  | 
it is sent to standard output. | 
| 47 | 
  | 
  | 
.SH EXAMPLES | 
| 48 | 
  | 
  | 
.PP | 
| 49 | 
greg | 
1.4 | 
    ra_pict mypict.hdr mypict.pict | 
| 50 | 
greg | 
1.1 | 
.PP | 
| 51 | 
greg | 
1.4 | 
Will convert the Radiance picture mypict.hdr, giving the Macintosh | 
| 52 | 
greg | 
1.1 | 
PICT mypict.pict. | 
| 53 | 
  | 
  | 
.PP | 
| 54 | 
greg | 
1.4 | 
    ra_pict \-g 2.2 mypict.hdr mypict.pict | 
| 55 | 
greg | 
1.1 | 
.PP | 
| 56 | 
  | 
  | 
Will convert the file using a gamma of 2.2. | 
| 57 | 
  | 
  | 
.SH "SEE ALSO" | 
| 58 | 
  | 
  | 
rpict(1) | 
| 59 | 
  | 
  | 
.SH BUGS | 
| 60 | 
  | 
  | 
Does not yet do Macintosh PICT to Radiance PIC, as this PICT files | 
| 61 | 
  | 
  | 
are a lot more complex than just one bit map. This is left as an | 
| 62 | 
  | 
  | 
exercise for the reader :-) | 
| 63 | 
  | 
  | 
.SH AUTHOR | 
| 64 | 
  | 
  | 
Russell Street |