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

Comparing ray/src/px/ra_pr.c (file contents):
Revision 1.5 by greg, Thu Jan 18 23:58:19 1990 UTC vs.
Revision 1.7 by greg, Fri Feb 9 13:59:19 1990 UTC

# Line 113 | Line 113 | char  *argv[];
113                                  head.ras_depth != 8)
114                          quiterr("incompatible format");
115                                          /* put header */
116 <                printargs(argc, argv, stdout);
116 >                printargs(i, argv, stdout);
117                  putchar('\n');
118                  fputresolu(YMAJOR|YDECR, xmax, ymax, stdout);
119                                          /* convert file */
# Line 291 | Line 291 | register rgbpixel  *l3;
291                  quiterr("read error in picreadline3");
292          inpic->nexty = y+1;
293                                                          /* convert scanline */
294 <        normcolrs(inline, xmax);
294 >        normcolrs(inline, xmax, 0);
295          for (i = 0; i < xmax; i++) {
296                  l3[i].r = inline[i][RED];
297                  l3[i].g = inline[i][GRN];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines