Author Topic: Option: "Prefer XMP Sidecars Over Embedded Metadata"  (Read 2820 times)

Offline Marziah

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Option: "Prefer XMP Sidecars Over Embedded Metadata"
« on: August 26, 2021, 11:08:03 AM »
Matthew Campagna created topic
9 months ago on Sun, Nov 29, 2020 at 1:26 PM
Quote
I would like to see an option added to IPTC/XMP Preferences, "Prefer XMP Sidecars Over Embedded Metadata".

If enabled, the application should read and write metadata using XMP sidecar files, even for file types such as DNG, TIFF, JPG, etc. that support embedded metadata.

This would allow Photo Mechanic to be used in tandem with applications such as Capture One Pro, which always write metadata to XMP sidecars, while preserving Photo Mechanic's natural, legacy behavior. It's a safe change that would be hugely beneficial to some photo workflows.

And because Photo Mechanic obviously supports XMP sidecar files for some file types, I have to imagine the engineering effort to implement such an option would be minimal.

I hope you will consider such an option.

3 people upvoted this
Matthew Campagna replied
9 months ago on Sun, Nov 29, 2020 at 2:35 PM
Quote
Bonus points if this could be enabled independently for different file types. Like, I might like to have this enabled for DNG, but not for JPG.
1 person upvoted this
Michael Bothager replied
9 months ago on Sun, Nov 29, 2020 at 11:51 PM
Quote
I'm not sure that Capture One’s handling of XMP sidecar files for TIFF, JPG etc. is a good candidate for a change in Photo Mechanic. If a folder handled by Capture One has the same image as different file types (RAW, DNG, JPG, TIFF etc.), only the last update of metadata is written to the XMP file. When syncing metadata back into Capture one, this last update is written into Capture One’s database, overwriting the old values for all the different files selected. This may or may not be desirable, depending whether you always wanted the exact same metadata for all the different image file formats.

This issue also has to be solved by Photo Mechanic; how is the pairing to made.

I’ve included a couple of screen shots from a small test to illustrate the issue. Al the files are loaded in Capture One. The title field is wrongfully updated to CR2 for the DNG when syncing the metadata, changed from DNG to CR2.

The proper solution would be for Capture One to follow the standards for embedding XMP/IPTC - which they unfortunately has refused to do historically. The risk of data loss is too great if the handling of metadata is done like Capture One.


image [ note: these did not make the trip from the old forum. Sorry.]


image


image


Matthew Campagna replied
9 months ago on Mon, Nov 30, 2020 at 2:58 AM
Quote
If there's a sidecar, then yes, I would expect the sidecar to impact both the CR2 and DNG files, if a "Prefer XMP Sidecar" were enabled. Hence my suggesting it as an option, rather than a wholesale change.

As things stand, I've settled on using EXIFTOOL to copy XMP metadata into my DNG files on the command line, after making changes in Capture One. I'm then able to sync that metadata back into Photo Mechanic. It works nicely enough, but having to "Show in Finder", open a terminal, and run commands is less than ideal.

I've done some Googling around, and I am definitely not alone in trying to pair these two applications and having this exact problem. As Photo Mechanic is never going to become a photo processing suite, it will always need to pair with other software to facilitate the full workflow. It would really be nice then for Photo Mechanic to find ways of playing nicely with applications apart from Adobe's.
2 people upvoted this
Marziah Karch
Marziah Karch replied
9 months ago on Tue, Dec 1, 2020 at 12:27 PM
Michael has outlined a lot of the reasons we'd be hesitant to implement this, but we may look at a solution in the future.

Emmanuel Sambo replied
6 months ago on Sun, Feb 14 at 4:45 PM
Quote
A solid interoperability between Photo Mechanic and CaptureOne is imperative (as I am not aware on better apps on macOS).

Could Photo Mechanic perhaps support a special XMP sidecar ingest step that would embed the XMP sidecar information created by CaptureOne and then delete it?

BTW, Photo Mechanic is currently already exhibiting this annoying XMP sidecar file sharing behavior with extracted LivePhotos, because Photo Mechanic doesn't embed metadata for HEIF (ApolloOne has no problem embedding it), which causes the XMP sidecar file to be shard with the MOV files. Updating the metadata in one, doesn't update the metadata for the other one, unless I somehow force a metadata write operation, or close and re-open the contact sheet. The View: Refresh or View: Rescan doesn't force a metadata refresh, which is not helpful either.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Option: "Prefer XMP Sidecars Over Embedded Metadata"
« Reply #1 on: August 26, 2021, 11:25:22 AM »
BTW, Photo Mechanic is currently already exhibiting this annoying XMP sidecar file sharing behavior with extracted LivePhotos, because Photo Mechanic doesn't embed metadata for HEIF (ApolloOne has no problem embedding it), which causes the XMP sidecar file to be shard with the MOV files.

The latest builds of Photo Mechanic 6 and Photo Mechanic Plus embed XMP into HEIF and HEIC file formats.

-Kirk