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 8954961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:26:00+00:00 2026-06-15T14:26:00+00:00

I have a user with a collection of JPEG files, rest on a Windows

  • 0

I have a user with a collection of JPEG files, rest on a Windows 7 NTFS file system.

The user has annotated these images using the Windows 7 “Details” dialog. For each file they have added a title, a comment (which maybe different from the title) and a tags field.

It appears that that the title is stored inside each JPEG file as part of the EXIF data.

However the Comments and Tags fields are not.

I’ve looked for them in Alternate Data Streams; there are none present. I can’t see whether they’re NTFS Extended Attributes because I can’t find a tool which lists those specifically.

My question is: where is this metadata stored, and how can I access it from within Ruby?

  • 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-06-15T14:26:01+00:00Added an answer on June 15, 2026 at 2:26 pm

    Eric’s answer comes close (thanks Eric).

    The answer is that Windows uses XMP embedded in the file to store some this information. Some other parts are stored in EXIF.

    XMP is an RDF format first developed by Adobe.

    However, the support for extracting and manipulating XMP in Ruby is poor — there are some libraries on github, but nothing very well integrated.

    • xmpleton doesn’t show all the metadata;
    • xmp crashes on Microsoft’s metadata;
    • fasttrack is not integrated into the rubygem.org infrastructure at large.

    Of the three fields I’m interested in:

    • “Comments” is stored in an EXIF field “XPComment”.
    • “Title” is stored in EXIF under the field “XPTitle” and in XMP under the DC namespace in the field “Description”
    • “Tags” are stored in EXIF under the field “XPKeyword” and in XMP in the DC name space as a list of “Subject” fields.

    The approach I’m using is mini_exiftool, which wraps the Perl-based EXIFTool program.

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

Sidebar

Related Questions

I have two user defined collection types. The first type has the columns: CREATE
I have a User object which has a collection of Transaction objects under it.
I have a User model that has a Roles collection. The Roles collection has
I have a user control that contains a collection of controls to be reused
So, I have a collection called: 'members' and in that I have a user
I have a collection of user models that starts with basic data: [ {'_id':
I have one observable collection with user control. And I am bind it in
I have two classes and mapping for the collection: class User { Guid ID;
I have created a site collection inside a web application with user A as
I have a table that is a collection entries as to when a user

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.