ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rcode2bmp.pl
(Generate patch)

Comparing ray/src/util/rcode2bmp.pl (file contents):
Revision 2.3 by greg, Tue Nov 15 23:47:50 2022 UTC vs.
Revision 2.5 by greg, Thu Oct 3 18:35:53 2024 UTC

# Line 41 | Line 41 | while ($#ARGV >= 0) {
41          my ($dest) = ("$ARGV[0]" =~ /^([^.]+)/);
42          $dest .= ".bmp";
43          my $cmd="";
44 <        if ("$format" =~ /^32-bit_rle_(rgb|xyz)e *$/) {
44 >        if ("$format" =~ /^32-bit_rle_(rgb|xyz)e *$/ || "$format" =~ /^Radiance_spectra *$/) {
45                  if ($pfilt) {
46                          $cmd = $pfilt . " '$ARGV[0]' | ra_bmp -e auto - '$dest'";
47                  } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines