| # | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 5 | * Tone map SGILOG TIFF or Radiance picture and output 24-bit RGB TIFF | |
| 6 | */ | |
| 7 | ||
| 8 | – | #include <stdio.h> | 
| 8 | #include <math.h> | |
| 10 | – | #include <time.h> | 
| 11 | – | #include <string.h> | 
| 9 | ||
| 10 | + | #include "rtio.h" | 
| 11 | #include "platform.h" | |
| 12 | #include "tiffio.h" | |
| 13 | #include "color.h" | |
| # | Line 39 | Line 37 | short ortab[8] = { /* orientation conversion table */ | |
| 37 | ||
| 38 | typedef struct { | |
| 39 | FILE *fp; /* file pointer */ | |
| 40 | < | char fmt[32]; /* picture format */ | 
| 40 | > | char fmt[MAXFMTLEN]; /* picture format */ | 
| 41 | double pa; /* pixel aspect ratio */ | |
| 42 | RESOLU rs; /* picture resolution */ | |
| 43 | } PICTURE; | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |