I am trying to validate flash-related Exif data in DNG RAWs; It is shown in Photoshop, but not in ExifTool as far as I can see. Photoshop's File Info > RAW Data shows e.g. this:
<exif:Flash rdf:parseType="Resource">
<exif:Fired>True</exif:Fired>
<exif:Return>0</exif:Return>
<exif:Mode>1</exif:Mode>
<exif:Function>False</exif:Function>
<exif:RedEyeMode>False</exif:RedEyeMode>
</exif:Flash>
Is there any way to view this XMP Exif data with ExifTool? I have searched through an HTML dump, but did not find it.
It should be in the XMP-exif group in this output:
exiftool -a -g1 FILE
If not, then send me the file and I'll take a look (philharvey66 at gmail.com)
To see just this group:
exiftool -a -xmp-exif:all FILE
or to see just the flash information:
exiftool -a "-flash*" -G1 FILE
- Phil
Edit: Added -a option to all commands
I would think you would need to add -a to the command since XMP-exif tags are usually just copies of normal EXIF tags.
Quote from: StarGeek on April 04, 2018, 11:36:28 AM
I would think you would need to add -a to the command since XMP-exif tags are usually just copies of normal EXIF tags.
Good point, thanks. I often forget about this because I have the Duplicates option enabled in my default config file, so I don't need the
-a when I run exiftool here.
I've added -a to all of the commands in my previous post.- Phil
Hi Frank,
I got your sample. There was no XMP flash information in this file. Photoshop is reporting the EXIF flash information, which ExifTool is showing as:
Flash : Unknown (0x3f)
The reason for this is that the value indicates there is no flash function, so there is no way the flash should have fired or any of the other flash features should be set. ExifTool treats this as unknown because the value is inconsistent.
- Phil
Thank you Phil! :D