Does anyone know the origin / usage of the 0xea1c padding tag?

Started by viziio504, December 19, 2020, 01:19:50 PM

Previous topic - Next topic

viziio504

I'm doing some data analysis and finding: 59932 (0xea1c, defined as "padding") as an EXIF tag in some JPEG images. Looking it up, I see this same tag exists in the wild in numerous places. But none of these instances explain or mention the tag specifically:


It exists in this documentation of tags: https://exiftool.org/TagNames/EXIF.html as padding, but I have not found any explanation for why there would be padding as a meta tag, or in what scenario it would ever be used, since it does seem to be used.

it's used all over the place (mostly in older image files, but not exclusively). But I need to know what causes it and can't find a single reference to a purpose for using it, or an explanation of why anyone has used it. It's a non-standard tag, yet it's listed in documentation as padding, so some org / popular application must've defined it that way.


StarGeek

If you refer to page 18 of the XMPSpecificationPart1.pdf, it lists the following
QuoteWhen XMP is embedded within digital files, including white-space padding is sometimes helpful. Doing so facilitates modification of the XMP packet in-place. The rest of the file is unaffected, which could eliminate a need to rewrite the entire file if the XMP changes in size. Appropriate padding is SPACE characters placed anywhere white space is allowed by the general XML syntax and XMP serialization rules, with a linefeed (U+000A) every 100 characters or so to improve human display. The amount of padding is workflow-dependent; around 2000 bytes is often a reasonable amount.

I think the basic idea is the same no matter what group it's found in.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Microsoft likes to add this Padding.  It can make it faster to update the file metadata if your software is optimized for this.

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