darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.12k stars 1.11k forks source link

Nikon Z 9 #10889

Open peti opened 2 years ago

peti commented 2 years ago

I have uploaded three sample NEF files created by the Nikon Z 9 camera to https://raw.pixls.us/:

The Z 9 does not support uncompressed RAW. The camera knows only "RAW L" with different levels of compression. The compression modes are:

where the star variant ("*") denotes higher quality a.k.a. less efficient compression.

The images show an X-Rite Color Checker Passport.

I have not touched the files except renaming them for clarity; these come straight out of the camera.

kmilos commented 2 years ago

https://onlinemanual.nikonimglib.com/z9/en/15_menu_guide_02_09.html#nef_raw_recording

fxgsell commented 2 years ago

hi everyone, any timeline on that? Currently limiting myself to jpeg to use dt.

rr- commented 2 years ago

For the time being, one workable solution is to use Rawtherapee – it can at least open the new .NEFs, even if the initial curves are completely off and require tons of adjusting.

kmilos commented 2 years ago

Just use the dt development branch, and change cameras.xml as shown here, it's not that complicated really.

rr- commented 2 years ago

Thanks, but I don't want to spend an afternoon griping with DT's build system which has been failing for the entire past week especially that it means a migration of all of the sidecar files with no hope of returning (unless I spend even more time on getting stable + develop builds on my computer in parallel).

rr- commented 2 years ago

Update: it appears that the users are free to tinker with cameras.xml without having to compile the entire app, as this file is shipped separately :) In my case all I needed was to paste the patch from https://github.com/darktable-org/rawspeed/pull/347/files at the end of /usr/share/darktable/rawspeed/cameras.xml.

One more update: these curves are very inaccurate. I decided to just switch to Nikon's software.

fxgsell commented 2 years ago

Thanks, that works!

robcampbell95 commented 1 year ago

I tried adding that patch but it didn't work. I am using the FTZ II adapter if that makes a difference. The lens doesn't show properly. The lens reports: VR 70-300mm f/4.5-5.6E but it should be: Nikon AF-P Nikkor 70-300mm f/4.5-5.6E ED VR.

Do I need to submit samples?

gitmatt19 commented 1 year ago

I tried adding that patch but it didn't work. I am using the FTZ II adapter if that makes a difference. The lens doesn't show properly. The lens reports: VR 70-300mm f/4.5-5.6E but it should be: Nikon AF-P Nikkor 70-300mm f/4.5-5.6E ED VR.

Do I need to submit samples?

Looks there the text you have is in the EXIF data but there are multiple lens strings that could be used....

Nikon 200-500 with FTZ2 :

$ exiftool '/DSC_7126.JPG' | grep -i lens Lens Type : E VR Lens : 200-500mm f/5.6 Lens F Stops : 5.00 Lens Data Version : 0802 Lens Info : 200-500mm f/5.6 Lens Make : Lens Model : VR 200-500mm f/5.6E Lens Spec : 200-500mm f/5.6 E VR Lens ID

Nikon Z 100-400 : $ exiftool 'DSC_7118.JPG' | grep -i lens Lens Type : VR Lens : 100-400mm f/4.5-5.6 Lens F Stops : 5.67 Lens Data Version : 0802 Lens Info : 100-400mm f/4.5-5.6 Lens Make : NIKON Lens Model : NIKKOR Z 100-400mm f/4.5-5.6 VR S Lens Spec : 100-400mm f/4.5-5.6 VR Lens ID : NIKKOR Z 100-400mm f/4.5-5.6 VR S

kmilos commented 1 year ago

Lens detection is an entirely separate issue, please do not add "noise" here. See https://github.com/darktable-org/darktable/issues/6317 and https://github.com/darktable-org/darktable/issues/10053

Edit: please open an issue for Z 9 support over at exiv2 - there is a new "LensData" version 0802 to be added...

kmilos commented 1 year ago

Support has now been added to exiv2 to read the lens data for the Z 9, in both main and 0.27-maintenance branches.

Edit: Available in exiv2 0.27.6 release.