ExifTool Forum

ExifTool => Newbies => Topic started by: Frank111 on April 04, 2018, 11:26:32 AM

Title: Invisible tags in DNG files
Post by: Frank111 on April 04, 2018, 11:26:32 AM
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.
Title: Re: Invisible tags in DNG files
Post by: Phil Harvey on April 04, 2018, 11:30:22 AM
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
Title: Re: Invisible tags in DNG files
Post by: 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.
Title: Re: Invisible tags in DNG files
Post by: Phil Harvey on April 04, 2018, 11:39:17 AM
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
Title: Re: Invisible tags in DNG files
Post by: Phil Harvey on April 05, 2018, 08:01:26 AM
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
Title: Re: Invisible tags in DNG files
Post by: Frank111 on April 06, 2018, 04:32:02 AM
Thank you Phil!  :D