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.39 by greg, Fri Jun 6 19:11:21 2025 UTC vs.
Revision 2.41 by greg, Tue Jul 1 19:40:35 2025 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include  <math.h>
11   #include  <ctype.h>
12 #include  "paths.h"
12   #include  "rtio.h"
13   #include  "platform.h"
14   #include  "tiffio.h"
# Line 375 | Line 374 | initfromtif(void)              /* initialize conversion from TIFF
374                  cvts.owner[sizeof(cvts.owner)-1] = '\0';
375          }
376                                          /* add to Radiance header */
377 <        if (cvts.pixrat < .99 || cvts.pixrat > 1.01)
377 >        if (cvts.pixrat < .999 || cvts.pixrat > 1.001)
378                  fputaspect(cvts.pixrat, cvts.rfp);
379          if (CHK(C_XYZE)) {
380                  if (cvts.stonits > .0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines