Skip to content

Installation

botrx555 edited this page Jul 11, 2026 · 3 revisions

Installation

m8raw2dng2 is pure Python 3.x. It needs Python and a few modules; the GUI needs Tkinter (bundled with most Python installs).

Requirements

  • Python 3.x
  • NumPy - required (the array maths).
  • tifffile - optional, only to re-process an existing .DNG back into a DNG; RAW -> DNG uses the built-in writer and needs only NumPy.
  • Pillow - optional, only for the --legacy-preview path (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.

Windows

  1. Install Python from python.org. On the first installer screen tick Add Python to PATH.
  2. Open Command Prompt and install the modules:
    py -m pip install -r requirements.txt
    
  3. Run with python m8raw2dng2.py ... or use the m8raw2dng2_run.bat launcher.

macOS

  1. Install Python 3 (python.org installer, or Homebrew brew install python).
  2. Install the modules:
    python3 -m pip install -r requirements.txt
    
  3. Run with python3 m8raw2dng2.py ... or use the m8raw2dng2_run.command launcher.

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.

Linux

  1. Install Python 3 and pip via your package manager (e.g. apt install python3 python3-pip python3-tk); python3-tk is only needed for the GUI.
  2. Install the modules:
    python3 -m pip install -r requirements.txt
    
  3. Run with python3 m8raw2dng2.py ....

Standalone apps (no Python)

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.

Verifying the install

python3 m8raw2dng2.py --version

should print the version. python3 m8raw2dng2.py --help prints the full flag catalogue (also in Flags Reference).

The GUI

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.

Clone this wiki locally