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.7 by greg, Fri Nov 11 11:26:20 1994 UTC vs.
Revision 2.8 by greg, Mon Oct 30 10:56:57 1995 UTC

# Line 19 | Line 19 | static char SCCSid[] = "$SunId$ LBL";
19   #include  "resolu.h"
20  
21  
22 + #define  GAMCOR         2.2             /* default gamma */
23 +
24   extern char  *malloc(), *realloc();
25  
26   int  lzcomp = 0;                        /* use Lempel-Ziv compression? */
27  
28   int  greyscale = 0;                     /* produce greyscale image? */
29  
30 < double  gamcor = 2.2;                   /* gamma correction */
30 > double  gamcor = GAMCOR;                /* gamma correction */
31  
32   int  bradj = 0;                         /* brightness adjustment */
33  
# Line 145 | Line 147 | char   *inpf, *outf;
147          fputs(progname, stdout);
148          if (bradj)
149                  printf(" -e %+d", bradj);
150 +        if (gamcor != GAMCOR)
151 +                printf(" -g %f", gamcor);
152          fputs(" -r\n", stdout);
153          fputformat(COLRFMT, stdout);
154          putchar('\n');

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines