Repository navigation
Home

A refined, from-scratch Python reimplementation of Arvid Kuehl's m8raw2dng
v1.20 - the converter that turns the Leica M8's uncompressed diagnostic-mode
.RAW dumps into Adobe DNG.
The plain conversion is byte-for-byte what the original tool produced (bit-identical when given an exact aperture), cross-platform, with a set of opt-in refinements on top. See Fidelity for the exact parity guarantees.
The M8's normal in-camera DNG compands the sensor's 14-bit read-out down to 8 bits
before writing. The service-mode .RAW is the full uncompressed 14-bit dump - it
preserves the shadow latitude and tonal steps the 8-bit path discards. That is the
whole reason a small but active part of the M8 community shoots it.
Reads a .RAW + paired .JPG (and optional .BIA), decodes the raw CFA mosaic,
attaches the correct metadata, levels, colour matrices and crop, and writes a
byte-faithful DNG - with optional darkfield, defect-column repair, aperture
recovery and full-resolution preview.
- New to the tool? Installation then Camera Setup then Usage and Workflow.
- Looking up a switch? Flags Reference.
- Want the internals? File Formats and The Math.
- Confused by a term? Glossary.
| Language | Python 3.x (CLI + Tk GUI) |
| Platforms | Windows, macOS, Linux |
| Camera | Leica M8 / M8.2, service-mode uncompressed RAW |
| Output | Adobe DNG, 16-bit linear CFA (14-bit data) |
| Licence | MIT (this reimplementation's own code) |
| Original | m8raw2dng by Arvid Kuehl - see Credits and References |
Beta (2.13.1b0). Stable in everyday use; feedback and issue reports welcome via the repo.