exiftool 12.32 cannot change Baseline exposure on iPhone 13 Pro DNG files

Started by Guillermo Luijk, October 01, 2021, 07:48:36 PM

Previous topic - Next topic

Guillermo Luijk

This is an Apple DNG file from an iPhone 13 Pro DNG in ProRAW mode:

https://www.dropbox.com/s/k57zpy4p03vx1zz/IMG_3234.DNG?dl=0

And baselineexposure cannot be changed (I have done it in the past with iPhone 12 Pro files):

D:\iphone\ej1>exiftool -overwrite_original -v -baselineexposure="0" *.DNG
======== iphone.DNG
Rewriting iphone.DNG...
  Editing tags in: IFD0 TIFF
  FileType = DNG
  FileTypeExtension = DNG
  MIMEType = image/x-adobe-dng
  Rewriting IFD0
  Rewriting SubIFD
  Rewriting XMP
  Rewriting ExifIFD
  Rewriting MakerNoteApple
  Rewriting GPS
  Copying 65 image data blocks
  Error = [minor] DNG Version 1.6.0.0 not yet tested
Error: [minor] DNG Version 1.6.0.0 not yet tested - iphone.DNG
    0 image files updated
    1 files weren't updated due to errors


Why is that? just not yet DNG version supported?

Regards

Phil Harvey

Hi Guillermo,

You can add -m to the command to ignore the error since it is minor, or wait until ExifTool 12.33 is released with DNG 1.6 support.  If DNG 1.6 was designed properly, writing it with ExifTool 12.32 and earlier shouldn't be a problem, but in the past the Adobe software engineers have been known to have a brain fart when designing a new DNG version (which broke backward compatibility unnecessarily, and hence the error that ExifTool issues), so be sure to check to see if the file is OK after doing this.

Thanks for letting me know about this new DNG version.

- 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 ($).

Guillermo Luijk

Thanks to you Phil for your quick response, it must be a lot of work to be paying attention to other's particularities (mine and Adobe's in this case :D).

I applied -m and it worked fine, the DNG file remains uncorrupted and renders 2 stops darker (original baseline exposure was 2) in the RAW developer as expected.

D:\iphone>exiftool -overwrite_original -v -m -baselineexposure="0" *.DNG
======== IMG_3242.DNG
Rewriting IMG_3242.DNG...
  Editing tags in: IFD0 TIFF
  FileType = DNG
  FileTypeExtension = DNG
  MIMEType = image/x-adobe-dng
  Rewriting IFD0
  Rewriting SubIFD
  Rewriting SubIFD1
  Rewriting XMP
  Rewriting XMP
  Rewriting ExifIFD
  Rewriting MakerNoteApple
  Rewriting GPS
  Copying 66 image data blocks
  Warning = DNG Version 1.6.0.0 not yet tested
Warning: DNG Version 1.6.0.0 not yet tested - IMG_3242.DNG
    1 image files updated


D:\iphone>exiftool -baselineexposure *.DNG
Baseline Exposure               : 0


Regards

Phil Harvey

...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

I've read through the changes in DNG 1.6 and I don't see any blunders this time, so backward compatibility with older software should not be a problem.

- 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 ($).