# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |