darktable-org / darktable-org/rawspeed
Support for DNG from DJI Mini 5 Pro
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 456
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
The DNG files from the DJI Mini 5 Pro seem not to be supported, at least darktable 5.2.1 throws an error:
8,1252 [rawspeed] (2025-09-28T18-50-53+0200_20250928185053_0003_D.dng) void rawspeed::AbstractDngDecompressor::decompress() const, line 250: Too many errors encountered. Giving up. First Error:
virtual rawspeed::Buffer::size_type rawspeed::LJpegDecoder::decodeScan(), line 108: Unsupported predictor mode: 6
I've uploaded samples to raw.pixls.us but they don't show up in the repository (at least I can't find them there). I can provide the samples here or by other means if necessary.
Thank you very much!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating or requesting the DJI Mini 5 Pro DNG samples mentioned in the issue, then inspect rawspeed::AbstractDngDecompressor::decompress() and rawspeed::LJpegDecoder::decodeScan() around the reported predictor-mode error. Reproduce the failure with the sample and confirm that the DNG decodes successfully without the unsupported predictor error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100