--- ray/src/px/ra_pict.c 1991/10/23 09:33:11 1.2 +++ ray/src/px/ra_pict.c 1991/11/12 16:05:39 2.1 @@ -1,6 +1,7 @@ #ifndef lint -static char SCCSid[] = "$SunId$ AU"; +static char SCCSid[] = "$SunId$ LBL"; #endif + /* rad2pict - Convert an Radiance image to APPLE pict format. @@ -8,10 +9,12 @@ static char SCCSid[] = "$SunId$ AU"; Auckland, New Zealand */ #include -#include #include "pict.h" #include "color.h" +#include "resolu.h" +extern char *malloc(); + char cbuf[8192*5]; char pbuf[8192]; int outbytes; @@ -102,7 +105,7 @@ char **argv; } if (checkheader(inf, COLRFMT, NULL) < 0 || - fgetresolu(&xsize, &ysize, inf) != (YMAJOR|YDECR)) { + fgetresolu(&xsize, &ysize, inf) < 0) { fprintf(stderr, "%s: not a radiance picture\n", argv[1]); exit(1); }