ExifTool Forum

General => Metadata => Topic started by: pe1125 on August 14, 2021, 02:11:18 PM

Title: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: pe1125 on August 14, 2021, 02:11:18 PM
I've been missing the Pitch/Roll and Yaw angle Exif data in my Nikon Z7 (original version I) jpeg files for some time when I noticed that Exiftool does find the information in NEF files from the camera.  I have no idea if this is an ExifTool issue or if the data is not recorded in the Jpeg's, but I found it curious.  Using version 12.30 (and earlier) on Windows 10 using ExifToolGUI. I can supply files if needed but the Z7 NEF is big.
   Peter
Title: Re: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: StarGeek on August 14, 2021, 03:08:44 PM
Is the source of the jpeg from the camera or was it created from the RAW by another program such as Lightroom?
Title: Re: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: pe1125 on August 14, 2021, 04:44:08 PM
Valid question.  Jpeg was original from camera. Out of curiosity I also tried converting an NEF to jpeg with Nikon View NX-i software with the same result-missing roll, pitch and yaw data.
Title: Re: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: StarGeek on August 14, 2021, 05:21:35 PM
What is the output from the command in FAQ #3 (https://exiftool.org/faq.html#Q3)?  Use [code][/code] or the (https://exiftool.org/forum/Themes/default/images/bbc/code.gif) button to format the the output.
Title: Re: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: pe1125 on August 14, 2021, 06:29:57 PM
Hope this helps.  I had to use the command to extract everything:
exiftool -ee3 -U -G3:1 -api requestall=3 -api largefilesupport 210430_03.nef

Excerpt from NEF tags:
[Nikon]         Nikon Shot Info Z7 2 0xce2f     : 0
[Nikon]         Nikon Shot Info Z7 2 0xce30     : 0
[Nikon]         Roll Angle                      : -0.7
[Nikon]         Pitch Angle                     : -0.6
[Nikon]         Yaw Angle                       : 76.4
[Nikon]         Nikon Shot Info Z7 2 0xce3e     : 248

Excerpt from jpeg tags:
[Nikon]         Nikon Shot Info Z7 2 0x5c62     : 0
[Nikon]         Nikon Shot Info Z7 2 0x5c63     : 0
[Nikon]         Nikon Shot Info Z7 2 0x5c64     : 0
[Nikon]         Nikon Shot Info Z7 2 0x5c65     : 0
[Nikon]         Noise Reduction                 : Off
[Nikon]         Color Balance Version           : 0800
[Nikon]         Nikon Color Balance Unknown 0x0004: 3
[Nikon]         Nikon Color Balance Unknown 0x0005: 3
[Nikon]         Nikon Color Balance Unknown 0x0006: 0

It appears that the Roll, Pitch and Yaw data that is found in the NEF files (and documented under the NIKON tags page https://exiftool.org/TagNames/Nikon.html "Nikon ShotInfoZ7_2 Tags") is truncated in the jpeg result. Not sure if it is not in the file or just that exiftool truncates the data in extracting it.   
   Thanks for looking into this. It's all way over my head.
Title: Re: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: Phil Harvey on August 15, 2021, 10:00:07 PM
This is not surprising since JPEG has a maximum of 64 kB in a segment, while the ShotInfoZ7_2 data alone is at least 0xce3e (52798) bytes in your NEF file.  Nikon is likely dropping some information in the JPEG so the maker notes will fit in a JPEG segment.

- Phil
Title: Re: Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg
Post by: pe1125 on August 16, 2021, 11:56:32 AM
Thanks, Phil, makes sense.  A limitation we'll have to live with.