Nikon DSLR & Z-series missing JPEG compression type

Started by kcochran, August 13, 2023, 09:46:05 PM

Previous topic - Next topic

kcochran

Exiftool's output from Nikon DSLR & Z-series JPEGs omits the Compression Type. Apparently from the source (Nikon.pm, v 4.24 lines 6852-6863), this is only supported for the D500. This information has been in all Nikon JPEGs at least since the time of the D200. How fixable is this? Looks like I need to put up some test files/images...
Hmm, how can I get Exiftool to generate a formatted dump of a JPEG so I can examine its various data elements? Thanks

Phil Harvey

Use -U to display all unknown information, then try changing the compression type only and see what changes in this output.  You may probably need a number of pictures with each setting to get find something that changes reliably.

I got the pictures you sent, but I haven't had the time to look at them yet.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

Good news:  Warren Hatch has just sent me an update that should decode this for all recent cameras.  Look for this to be included in version 12.66

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

You sent test images from the Z9, D850 and D3S.  ExifTool 12.68 will be able to decode JPEGCompression and Quality from each of these.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).