Skip to content
botrx555 edited this page Jul 11, 2026 · 2 revisions

The GUI

m8raw2dng2_gui.py is a Tkinter front-end over the same conversion engine as the command line. It uses only the Python standard library (tkinter) - no extra dependencies beyond the converter's own. Launch it with:

python3 m8raw2dng2_gui.py

Keep it next to m8raw2dng2.py; it imports the converter directly.

Layout

The window groups the options into panels:

Input / output - pickers for the input file or folder (-i) and the output folder (-o), with a Recurse (-R) option for sub-folders.

Conversion options - checkboxes and fields for the everyday flags: Verbose (-v), Overwrite DNGs (-r), Embed preview (-p), M9 colour (-c), No crop (--no-crop), Legacy preview (--legacy-preview) with its Long edge (--preview-size) and Uncompressed (--preview-uncompressed) options, Verify DNG (--verify), Dry run (--dry-run), Probe input (--probe), Parallel jobs (-j), Write log (--log), Black level (-b), CFA (--cfa) and Lens (-l).

FNumber - Force aperture (-A), Mimic original (--mimic-fnumber), Ignore meters (--legacy-fnumber) and Batch self-cal (--selfcal), plus the FNumber calibration block (--calibrate-fnumber): pick the lens, enter the apertures in file order, and run the calibration. Selecting a lens auto-fills the apertures field from lensdb.ini (still manually editable; a lens with no aperture list leaves the field untouched). An Edit lenses... button opens a modal editor to add, change or delete lensdb.ini entries (6-bit code, maker, model, serial, focal length, aperture list) without leaving the app; see Databases for the file format.

Sensor - Sensor fixes (-s), Create / update darkfield (-sd) and auto-detect & record defect columns (--auto-lines).

Presets - save, load, copy, delete and clear named presets, so a full option set can be recalled with one click.

Convert + log - the Convert button runs the job; a live log pane shows progress, with a status indicator (Idle / Working) and the resulting command string.

GUI vs command line

The GUI surfaces the everyday and refinement flags. A handful of advanced flags are command-line (or launcher) only - see Flags Reference for the split. Anything the GUI can do, the CLI can do; the reverse is not quite true.

Clone this wiki locally