ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Neal Krawetz on November 11, 2023, 06:52:26 PM

Title: New EXIF tags
Post by: Neal Krawetz on November 11, 2023, 06:52:26 PM
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
Title: Re: New EXIF tags
Post by: Phil Harvey on November 11, 2023, 09:41:19 PM
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
Title: Re: New EXIF tags
Post by: StarGeek on November 12, 2023, 12:20:05 AM
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 (https://learn.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-constant-property-item-descriptions) appears to be a more recent version of the page.
Title: Re: New EXIF tags
Post by: Phil Harvey on November 12, 2023, 07:00:48 AM
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.
Title: Re: New EXIF tags
Post by: StarGeek on November 12, 2023, 09:53:22 AM
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.
Title: Re: New EXIF tags
Post by: Neal Krawetz on November 12, 2023, 03:12:40 PM
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