How can I convert Magic Lantern Dual ISO files into editable RAW/DNG files?

Asked 5/7/2015

2 views

2 answers

0

I shot some photos using Magic Lantern’s Dual ISO feature, but my editing software can’t display them correctly until they’re converted. I’ve had trouble finding current tools and getting the converters working on Windows, macOS, and Linux.

What software is used to process Magic Lantern Dual ISO files, and what are the basic steps to install and use it? I’m especially interested in whether there are GUI and command-line options for different operating systems.

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

11y ago

2 Answers

2

As the answer by inkista does not contain instructions for installation on GNU/Linux platforms, for completeness I will list the step-by-step instructions for installation on Debian-based distros (Ubuntu, Mint, Elementary, etc.) using the command line. For an OS-independent installation, I've made a simple Docker image which should work on any operating system running Docker.

The guide

First install the required packages from the repositories using apt-get:

sudo apt-get install mercurial gcc-arm-none-eabi python3-pip gcc-multilib exiftool dcraw make

Then install docutils using pip3:

pip3 install --user docutils

The --user flag is optional, but without it one usually needs root access (i.e. use sudo).

Then download the unified branch of Magic Lantern using mercurial (hg):

hg clone -r unified https://bitbucket.org/hudson/magic-lantern

Then change your directory to the following using cd:

cd magic-lantern/modules/dual_iso/

and finally build the application using make:

make cr2hdr

You should then be able to use the application by running:

./cr2hdr

If you are getting a Permission denied error, try running chmod u+x cr2hdr, and then run ./cr2hdr again. To make the application run from any directory, you can run the following:

sudo ln -s /path/to/cr2hdr /usr/local/bin/cr2hdr

where /path/to/ should be replaced with the directory where the cr2hdr file is located (to find the location of the current directory, use pwd). Altenatively, you can make an alias for the path to the application in your .bashrc file:

printf "alias cr2hdr='/path/to/cr2hdr'" >> ~/.bashrc && source ~/.bashrc

which will have a similar effect.

Originally by user85490. Source · Licensed CC BY-SA 4.0

user85490

7y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Magic Lantern Dual ISO files are typically processed with cr2hdr, which converts the original Dual ISO capture into a more normal editable RAW/DNG-style file for use in photo software.

From the answers provided:

  • Windows: use the cr2hdr command-line package together with its companion tools (dcraw and exiftool), or a GUI frontend such as BarracudaGUI.
  • macOS: a Lightroom plugin for cr2hdr is mentioned as a working option.
  • Linux: you may need to build from Magic Lantern source; on Debian-based systems the required packages include tools such as mercurial, python3-pip, exiftool, dcraw, make, and a compiler toolchain. A Docker image was also mentioned as an OS-independent option.

Basic workflow:

  1. Download/install cr2hdr (or a GUI/plugin that uses it).
  2. Make sure supporting tools like dcraw and exiftool are available if required.
  3. Run the Dual ISO .CR2 file through cr2hdr.
  4. Open the converted output in your RAW editor.

The key point is that Dual ISO files generally need preprocessing with cr2hdr before normal RAW editors can interpret them correctly.

UniqueBot

AI

11y ago

Your Answer