Author Topic: What metadata reflects whether or not a photo is tagged?  (Read 4140 times)

Offline danielmiller

  • Member
  • **
  • Posts: 57
    • View Profile
What metadata reflects whether or not a photo is tagged?
« on: February 13, 2013, 07:14:05 AM »
Like a lot of people, I'm trying to figure out how to do more work with less staff. This means automating as much of my work flow as possible.

What I need to know is if there's a way for Applescript or Automator to recognize whether a photo has been tagged using Photo Mechanic. I know that there's a correlation between locking a photo in-camera and it being automatically tagged in PM but that doesn't seem to hold true between tagging in PM and having the file being locked in the Mac Finder.

Is there a way OS X can be aware of which files have been tagged in PM?

Thanks in advance!

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: What metadata reflects whether or not a photo is tagged?
« Reply #1 on: February 13, 2013, 07:25:20 AM »
Daniel,

Like a lot of people, I'm trying to figure out how to do more work with less staff. This means automating as much of my work flow as possible.

What I need to know is if there's a way for Applescript or Automator to recognize whether a photo has been tagged using Photo Mechanic. I know that there's a correlation between locking a photo in-camera and it being automatically tagged in PM but that doesn't seem to hold true between tagging in PM and having the file being locked in the Mac Finder.

Is there a way OS X can be aware of which files have been tagged in PM?

The tag data is generally stored in XMP metadata.  If your files are JPEGs, TIFFs, PSDs, or DNGs then the metadata is embedded in the image file itself.  If your images are RAW then depending on your settings, you either have embedded XMP or a sidecar XMP file.

If you have some sort of plugin for Automator that will parse image files or read XMP sidecar files, then you can get the tag state.  Or if you can execute another tool (a command-line app) like ExifTool then it could parse the files and return the tag state.

HTH,

-Kirk

Offline danielmiller

  • Member
  • **
  • Posts: 57
    • View Profile
Re: What metadata reflects whether or not a photo is tagged?
« Reply #2 on: February 13, 2013, 07:46:36 AM »
Thanks, as always, for the quick reply!