Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 586115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:04:25+00:00 2026-05-13T15:04:25+00:00

I am writing an open-source library to extract image metadata and store as XMP

  • 0

I am writing an open-source library to extract image metadata and store as XMP serialized in an XML sidecar (ideally identically to how Adobe’s apps serialize their metadata).

My problem is it appears that BitmapMetadata has all of the values that I need, but the keys are mangled. Many of them are just integers, rather than their corresponding XMP namespaced XML-style names. Microsoft claims they are using XMP to store reads/writes many different formats of metadata within media, but I do not see any way to reconstruct some of the standard XMP names from these.

For example, Name="/{ushort=272}", Format="ifd" is what I have but I need is <tiff:Model> where xmlns:tiff="http://ns.adobe.com/tiff/1.0/". For this, I can use the ExifTags from my ExifUtils library to map some of the keys because I know what it is. I’m not sure about many of the others though.

My question:

  1. Anyone familiar enough with BitmapMetadata to know if I’m headed down a dead-end?

  2. Is there a standardized mapping that Microsoft is encoding to? I haven’t found one yet in Adobe’s official XMP specs.


Update: the open source code for this library is now available at Google Code as XmpUtils library. It supports reading/writing XMP metadata as the standard RDF-based XML.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:04:26+00:00Added an answer on May 13, 2026 at 3:04 pm

    As it turns out, the Windows Imaging Component (WIC) used by BitmapMetadata reads/writes many different types of metadata blocks including TIFF, EXIF, IPTC, and XMP. This explains why unfortunately their object model does not correspond very closely with the XMP serialization model; it is highly generalized.

    The key mapping which I was looking for depends on which section is being decoded, and even in the case of XMP, it isn’t exactly a clean conversion. The MSDN links in the other answer give detailed descriptions of Metadata Query Language which is the XPath-like syntax that WIC uses to reference metadata sections within media. This is useful for parsing each path segment into a key which then may be used to determine the corresponding XMP namespace and property name.

    As I mentioned in the question, I’ve now built this library which correctly converts a very high percentage of the metadata properties from the TIFF, EXIF, and XMP blocks.

    See the XmpUtils library source code to see the details of how I ended up extracting this data in a standardized manner.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok so I am writing an open source library. A section of this library
I am currently writing an open source wrapper for a COM object. I have
For an open source project I have I am writing an abstraction layer on
I am tasked with writing an authentication component for an open source JAVA app.
I found this open-source library that I want to use in my Java application.
Is there any free open source library (in C/C++) for sockets that is widely
I need to invoke tesseract OCR (its an open source library in C++ that
I'm writing Master's thesis. I nead some open source projects (written in C#) with
I'm masochistically writing an open-source text editor for Mac and have finally reached the
I'm writing a JavaScript for an open source browser available for Android to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.