darktable-org / darktable-org/rawspeed

Support for DNG from DJI Mini 5 Pro

Open
#895 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.