New EXIF tags

Started by Neal Krawetz, November 11, 2023, 06:52:26 PM

Previous topic - Next topic

Neal Krawetz

Looks like Microsoft is adding in new EXIF tags.

https://msdn.microsoft.com/en-us/library/ms932271.aspx

Exif 0x5110 : 1     # PropertyTagPixelUnit (I've only seen "1", I assume this means 'meters')
Exif 0x5111 : 4724  # DPI xres in pixels per meter; PropertyTagPixelPerUnitX
Exif 0x5112 : 4724  # DPI yres in pixels per meter; PropertyTagPixelPerUnitY

For Microsoft AI-generated images, xres and yres are "0".

(Actually, they look like old EXIF tags, but exiftool doesn't recognize them.)

     -Neal

Phil Harvey

Wow.  There are a lot of Microsoft-specific tags here that I've never seen in the wild.  I wonder if I should add read support for all of them?

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

StarGeek

That page is dated 2012.  Maybe keep a eye out but if there hasn't been a request for any of these in 11 years, I doubt there's anything using them.

Edit:  This appears to be a more recent version of the page.
"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

There isn't much downside to adding these as unwritable tags.  In the new documentation you referenced the tags are sorted numerically which makes things a bit easier for me.  They were pretty well randomly ordered in the older version.

- Phil

P.S. I don't understand why they define ThumbnailWidth/ThumbnailHeight as well as ThumbnailImageWidth/ThumbnailImageHeight -- I can't see any difference between these tags.
...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

Quote from: Phil Harvey on November 12, 2023, 07:00:48 AMThere isn't much downside to adding these as unwritable tags.

I like that.  It would help keep an eye out for them and I'm guessing it wouldn't be to hard to flip them if it became necessary.
"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

Neal Krawetz

I can't vouch for most of them, but Exif 0x5110, 0x5111, and 0x5112 are actively being used on AI-generated pictures from Microsoft.

Here's an example:

https://fotoforensics.com/analysis.php?id=b679e1f447559781e0ef6b773735f59c66b9d47f.103131

Direct download:
https://fotoforensics.com/analysis.php?id=b679e1f447559781e0ef6b773735f59c66b9d47f.103131&fmt=orig