ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_pict.c
(Generate patch)

Comparing ray/src/px/ra_pict.c (file contents):
Revision 1.3 by greg, Mon Oct 28 16:41:31 1991 UTC vs.
Revision 2.1 by greg, Tue Nov 12 16:05:39 1991 UTC

# Line 1 | Line 1
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          
# Line 10 | Line 11 | static char SCCSid[] = "$SunId$ AU";
11   #include <stdio.h>
12   #include "pict.h"
13   #include "color.h"
14 + #include "resolu.h"
15  
16   extern char  *malloc();
17  
# Line 103 | Line 105 | char **argv;
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      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines