# | Line 418 | Line 418 | main(int argc, char *argv[]) | |
---|---|---|
418 | /* write result to stdout */ | |
419 | if (outfmt == DTfromHeader) | |
420 | outfmt = mres->dtype; | |
421 | + | if ((outfmt == DTrgbe) & (mres->ncomp > 3)) |
422 | + | outfmt = DTspec; |
423 | if (outfmt != DTascii) | |
424 | SET_FILE_BINARY(stdout); | |
425 | newheader("RADIANCE", stdout); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |