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

Comparing ray/src/px/ra_bmp.c (file contents):
Revision 2.15 by greg, Tue Sep 10 20:24:42 2024 UTC vs.
Revision 2.16 by greg, Fri Jun 6 19:11:21 2025 UTC

# Line 8 | Line 8 | static const char RCSid[] = "$Id$";
8   #include  <math.h>
9  
10   #include  "rtio.h"
11 + #include  "paths.h"
12   #include  "platform.h"
13   #include  "color.h"
14   #include  "tonemap.h"
# Line 18 | Line 19 | int            bradj = 0;              /* brightness adjustment */
19  
20   double          gamcor = 2.2;           /* gamma correction value */
21  
21 char            *progname;
22
22   static void quiterr(const char *err);
23   static void tmap2bmp(char *fnin, char *fnout, char *expec,
24                                  RGBPRIMP monpri, double gamval);
# Line 43 | Line 42 | main(int argc, char *argv[])
42          RESOLU          rs;
43          int             i;
44          
45 <        progname = argv[0];
45 >        fixargv0(argv[0]);              /* assigns progname */
46  
47          for (i = 1; i < argc; i++)
48                  if (argv[i][0] == '-' && argv[i][1])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines