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

Comparing ray/src/px/ra_hexbit.c (file contents):
Revision 3.3 by schorsch, Sun Mar 28 20:33:14 2004 UTC vs.
Revision 3.6 by greg, Sat Dec 28 18:05:14 2019 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Create a 4x1 hex bitmap from a Radiance picture.
6   */
7  
8 < #include  <stdio.h>
9 < #include  <time.h>
10 <
8 > #include  "platform.h"
9   #include  "color.h"
10 + #include  "rtio.h"
11   #include  "resolu.h"
12  
13   char  *progname;
# Line 59 | Line 58 | main(
58          }
59                                  /* assign threshold color */
60          setcolr(threshclr, thresh, thresh, thresh);
61 +                                /* binary input */
62 +        SET_FILE_BINARY(stdin);
63                                  /* get our header */
64          if (checkheader(stdin, COLRFMT, NULL) < 0 ||
65                          fgetresolu(&xmax, &ymax, stdin) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines