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

Comparing ray/src/px/ra_tiff.c (file contents):
Revision 2.4 by greg, Mon Jul 12 12:41:18 1993 UTC vs.
Revision 2.6 by greg, Sun Feb 27 10:17:27 1994 UTC

# Line 139 | Line 139 | char   *inpf, *outf;
139          if (outf != NULL && strcmp(outf, "-") &&
140                          freopen(outf, "w", stdout) == NULL)
141                  quiterr("cannot open Radiance output file");
142 +        newheader("RADIANCE", stdout);
143          fputs(progname, stdout);
144          if (bradj)
145                  printf(" -e %+d", bradj);
146          fputs(" -r\n", stdout);
147          fputformat(COLRFMT, stdout);
148          putchar('\n');
149 <        fprtresolu(xmax, ymax, stdout);
149 >        fprtresolu((int)xmax, (int)ymax, stdout);
150                                                  /* convert image */
151          if (nsamps == 1)
152                  pconfig = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines