Hello,
For those who might be interested I have updated Greg's raw2hdr to run on linux. I had to make the following modifications to get it to work:
1. The most recent version of dcraw (v8.86) has different output for
"dcraw -i -v" so I had to update the format output to correspond
2. For certain cases dcraw reports the shutter speed as
1/(1/shutter), this occurs for 0 < shutter < 1, for example:
Shutter: 1/256.0 sec. So this creates a case where the format
fails (eg: Shutter: ${speed} sec) in rcalc. So the easiest work
around (for me) was to add a one liner perl command that reads the
"rawinfo$$.txt" file and converts 1/speed to a floating point
decimal value.
3. For some reason the script was not processing the double quotes
around the -s argument at the rcalc command so changing this to
single quotes fixed things.
For those who are interested attached is the updated script. Please note that this is AS IS and without warranty, so use at your own risk. There are a couple of caveats:
1. dcraw -i -v output seems to have changed over multiple versions so
this may not work with other versions of dcraw
2. although it should not have mattered, between csh on the mac
version and csh on linux (ubuntu) I did need to make the change to
the quoting, which is a bit weird if you as me.
I have been testing out DSLR Remote Pro (www.breezesys.com) for remote capture control of my EOS 5D with automatic bracketing across the full range in 1/3 stops. Then I can use raw2hdr on a vm running linux to convert and check the hdri.
Best,
-Jack de Valpine
raw2hdr (2.87 KB)
···
--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction