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.22 by greg, Tue Jul 1 22:44:02 2003 UTC vs.
Revision 2.24 by greg, Wed Jul 16 01:32:53 2003 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include  <stdio.h>
11   #include  <math.h>
12   #include  <ctype.h>
13 + #include  <time.h>
14   #include  "tiffio.h"
15   #include  "color.h"
16   #include  "resolu.h"
# Line 541 | Line 542 | initfromrad()                  /* initialize input from a Radiance pi
542                          cvts.tf = Color2RRGGBB;
543                          SET(C_RFLT);
544                  } else if (CHK(C_TFLT)) {
545 +                        TIFFSetField(cvts.tif, TIFFTAG_SAMPLEFORMAT,
546 +                                        SAMPLEFORMAT_IEEEFP);
547                          cvts.tf = Color2RfGfBf;
548                          SET(C_RFLT);
549                  } else
# Line 553 | Line 556 | initfromrad()                  /* initialize input from a Radiance pi
556                          cvts.tf = Color2GGry;
557                          SET(C_RFLT);
558                  } else if (CHK(C_TFLT)) {
559 +                        TIFFSetField(cvts.tif, TIFFTAG_SAMPLEFORMAT,
560 +                                        SAMPLEFORMAT_IEEEFP);
561                          cvts.tf = Color2Gryf;
562                          SET(C_RFLT);
563                  } else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines