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

Comparing ray/src/px/ra_bmp.c (file contents):
Revision 2.4 by greg, Fri Apr 30 17:00:29 2004 UTC vs.
Revision 2.5 by greg, Fri Apr 30 17:30:33 2004 UTC

# Line 335 | Line 335 | tmap2bmp(char *fnin, char *fnout, char *expec, RGBPRIM
335                                          /* initialize BMP header */
336          if (tmflags & TM_F_BW) {
337                  hdr = BMPmappedHeader(xr, yr, 0, 256);
338 <                hdr->compr = BI_RLE8;
338 >                if (fnout != NULL)
339 >                        hdr->compr = BI_RLE8;
340          } else
341                  hdr = BMPtruecolorHeader(xr, yr, 0);
342          if (hdr == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines