darktable-org / darktable-org/darktable
Nikon Z5 II Raw images show up black (incorrect white / black point values)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
With a Nikon Z5 II camera, with the RAW images set to NEF Lossless compressed, by default, black level 1, 2, 3, 4 are set to 0 and white point is also 0. This renders the image as a black box.
Clicking on the values pulls out the correct values, being Black level 1-4 as 1008, 1008, 1008, 1008; and White point 15892
Steps to reproduce
- Import Z5 II NEF Lossless compressed image
- Open image in darkroom
- Image renders as black
Expected behavior
Darkstable should show a visible image with the correct black levels and whitepoint
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
5.2.1
What OS are you using?
Linux
What is the version of your OS?
Mint Cinnamon 22.2
Describe your system
No response
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
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
No source file or test is named. Start by reproducing the issue in darkroom with a Nikon Z5 II lossless-compressed NEF and trace how its black and white point metadata is read; done means the image renders visibly with black levels of 1008 and a white point of 15892.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100