TransWikia.com

Converting XPComments from Windows Photo Viewer to any other photo viewer comments or description

Photography Asked by Tom Gooley on August 21, 2021

I currently use Windows Photo Viewer to look at photos and I have typed comments into the XP Comments field in the Details tab in Properties. I would like to utilize a different photo tool, like PhotoMechanic, to view and manage the photos, but have been told that the XP Comments field will not display. Does anyone know how to convert the comments automatically or a photo management program that does show the XP Comments field – I have thousands of photos with comments so manually moving them would be onerous.

One Answer

I think that you will not get away with a fully automatic solution (though I have not looked for them specifically).

The best way is probably to first check if your new program accepts your existing metadata.

Unfortunately, I also have no access to Windows Photo Viewer (WPV), and searching the internet proved inconclusive on whether WPV saves the metadata to the image file or in its own database. This is the first thing you have to find out, as the latter would make it really hard without some serious hacking (best case: it is a SQL database that one can read out - "just" read it and transform it into file-saved metadata, right? ;-) ) EDIT: WPV writes to EXIF's XPComment and XPLabel fields. Strikethrough text is unneccessary for WPV in particular, but might help others with different software but similar problems.

There are several options available to see image metadata:

  • Most free image viewers, e.g. IrfanView or XnView offer metadata viewers (I in IrfanView) - they may limit what metadata you can see, however.
  • CLI programs, e.g. exiftool or exiv2. E.g. exiftool: exiftool.exe -All:All <PATHTOIMAGE.EXT> - They will show you pretty much all metadata that your image file includes. There might also be GUI-frontends for them that will work, e.g. exiftoolgui.
  • Free image organizers like DigiKam might offer a way to not only show metadata, but also save them in different standards.

If the metadata you are looking for can be found in the images, you can try to get them into a standardizes field, like IPTC's Keywords or XMP's Label - You will have to find out which field can take the information that you want to place there, and you also need to check if your new tool can read them in a way that is helpful to you.

In exiftool pseudocode, this copying could look like this (for more examples, look at the "copying examples" on exiftool's page):

exiftool.exe -<DEST_FIELD><<SRC_FIELD> "<FullSourceFileName>"

This answer to "Trying to Find a Windows “XP Comment” Editor" on StackExchange indicates that -XPComment and -XPKeywords might be the interesting tags for you.

There might be ways to do this with DigiKam or other tools, as well, but since exiftool is my go-to-tool for this kind of stuff, I really don't know.


If those metadata cannot be found in the image files (and there is no way to save/export them inside WPV), then you will need to:

  • Find the database path
  • Find out what kind of database it is (e.g. SQL)
  • Find a tool to read it out (maybe HeidiSQL?)
  • Find the fields you need (most likely the image's path and your metadata)
  • Find a way to save those entries either as sidecar-files or add them directly into the image files (I guess you will need more than one tool to do that)

Answered by flolilo on August 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP