1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ AU"; |
2 |
> |
static char SCCSid[] = "$SunId$ LBL"; |
3 |
|
#endif |
4 |
+ |
|
5 |
|
/* |
6 |
|
rad2pict - Convert an Radiance image to APPLE pict format. |
7 |
|
|
11 |
|
#include <stdio.h> |
12 |
|
#include "pict.h" |
13 |
|
#include "color.h" |
14 |
+ |
#include "resolu.h" |
15 |
|
|
16 |
|
extern char *malloc(); |
17 |
|
|
105 |
|
} |
106 |
|
|
107 |
|
if (checkheader(inf, COLRFMT, NULL) < 0 || |
108 |
< |
fgetresolu(&xsize, &ysize, inf) != (YMAJOR|YDECR)) { |
108 |
> |
fgetresolu(&xsize, &ysize, inf) < 0) { |
109 |
|
fprintf(stderr, "%s: not a radiance picture\n", argv[1]); |
110 |
|
exit(1); |
111 |
|
} |