Invisible tags in DNG files

Started by Frank111, April 04, 2018, 11:26:32 AM

Previous topic - Next topic

Frank111

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.

Phil Harvey

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

StarGeek

I would think you would need to add -a to the command since XMP-exif tags are usually just copies of normal EXIF tags.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

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

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

Frank111