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 1.4 by greg, Mon Nov 11 14:01:55 1991 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines