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.23 by greg, Mon Jul 14 04:56:54 2003 UTC

# Line 541 | Line 541 | initfromrad()                  /* initialize input from a Radiance pi
541                          cvts.tf = Color2RRGGBB;
542                          SET(C_RFLT);
543                  } else if (CHK(C_TFLT)) {
544 +                        TIFFSetField(cvts.tif, TIFFTAG_SAMPLEFORMAT,
545 +                                        SAMPLEFORMAT_IEEEFP);
546                          cvts.tf = Color2RfGfBf;
547                          SET(C_RFLT);
548                  } else
# Line 553 | Line 555 | initfromrad()                  /* initialize input from a Radiance pi
555                          cvts.tf = Color2GGry;
556                          SET(C_RFLT);
557                  } else if (CHK(C_TFLT)) {
558 +                        TIFFSetField(cvts.tif, TIFFTAG_SAMPLEFORMAT,
559 +                                        SAMPLEFORMAT_IEEEFP);
560                          cvts.tf = Color2Gryf;
561                          SET(C_RFLT);
562                  } else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines