Repository navigation
Installation
m8raw2dng2 is pure Python 3.x. It needs Python and a few modules; the GUI needs Tkinter (bundled with most Python installs).
- Python 3.x
- NumPy - required (the array maths).
-
tifffile - optional, only to re-process an existing
.DNGback into a DNG; RAW -> DNG uses the built-in writer and needs only NumPy. -
Pillow - optional, only for the
--legacy-previewpath (decode/despeckle the embedded JPEG preview). EXIF/MakerNote parsing does not use it. -
tkinter - standard library, only for the GUI. On most Linux distributions
it ships separately (e.g.
sudo apt install python3-tk).
python3 -m pip install -r requirements.txt (Windows: py -m pip install -r requirements.txt) installs NumPy plus the two optional modules for convenience.
- Install Python from python.org. On the first installer screen tick Add Python to PATH.
- Open Command Prompt and install the modules:
py -m pip install -r requirements.txt - Run with
python m8raw2dng2.py ...or use them8raw2dng2_run.batlauncher.
- Install Python 3 (python.org installer, or Homebrew
brew install python). - Install the modules:
python3 -m pip install -r requirements.txt - Run with
python3 m8raw2dng2.py ...or use them8raw2dng2_run.commandlauncher.
The .command launcher may need to be made executable and cleared past
Gatekeeper the first time:
chmod +x m8raw2dng2_run.command
If macOS blocks it, right-click the file, choose Open, then confirm - after that it runs normally.
- Install Python 3 and pip via your package manager (e.g.
apt install python3 python3-pip python3-tk);python3-tkis only needed for the GUI. - Install the modules:
python3 -m pip install -r requirements.txt - Run with
python3 m8raw2dng2.py ....
Prebuilt Mac (.app) and Windows (.exe) builds are attached to each
release - no Python or
dependencies needed. Download the archive for your platform, unzip, and run.
The build is unsigned, so the OS blocks the first launch:
-
macOS: right-click -> Open -> Open. If still blocked:
xattr -dr com.apple.quarantine /path/to/m8raw2dng2.app - Windows: SmartScreen -> More info -> Run anyway.
Once only. Keep the app in its own writable folder: it reads lensdb.ini and
sensdb.ini from beside itself, and creates Input and Output there. Do not
move the app into /Applications (macOS) or split it from its _internal folder
(Windows). The app is the same GUI documented in GUI and
Usage and Workflow.
python3 m8raw2dng2.py --version
should print the version. python3 m8raw2dng2.py --help prints the full flag
catalogue (also in Flags Reference).
m8raw2dng2_gui.py is a Tkinter front-end over the same engine. Launch it with
python3 m8raw2dng2_gui.py. See GUI for the full panel-by-panel guide.