5 |
|
* Warp colors in Radiance picture to correct for input/output changes. |
6 |
|
*/ |
7 |
|
|
8 |
< |
#include <stdio.h> |
9 |
< |
|
8 |
> |
#include "rtio.h" |
9 |
|
#include "resolu.h" |
10 |
|
#include "color.h" |
11 |
|
#include "warp3d.h" |
29 |
|
char *argv[] |
30 |
|
) |
31 |
|
{ |
32 |
< |
static char picfmt[LPICFMT+1] = PICFMT; |
32 |
> |
static char picfmt[MAXFMTLEN] = PICFMT; |
33 |
|
int cwflags = 0; |
34 |
|
int rval; |
35 |
|
int i; |
88 |
|
exit(0); |
89 |
|
userr: |
90 |
|
fprintf(stderr, |
91 |
< |
"Usage: %s [-i][-o][-e|-f] map.cwp [input.pic [output.pic]]\n", |
91 |
> |
"Usage: %s [-i][-o][-e|-f] map.cwp [input.hdr [output.hdr]]\n", |
92 |
|
progname); |
93 |
|
exit(1); |
94 |
|
} |