Author Topic: Importing keywords and xmp files  (Read 4620 times)

Offline timgillespie

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Importing keywords and xmp files
« on: December 24, 2008, 10:16:44 AM »
Hi:

This is my first post here.

Windows Vista
32-bit
3 gb ram
The program seems to be running fine.

I just changed over from Acdsee Pro 2.5. But all of my images (200,000) have keywords either embedded or in sidecar files.

I am trying to import those keywords into Photo Mechanic but I am not quite sure how to do it. I did read the manual but I am not quite sure how this would work. I am not even sure it will work.

Here is the first few lines of one of the sidecar files. You can see the keywords are contained in this <acdsee:keywords>.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.1.1">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/">
         <acdsee:categories/>
         <acdsee:keywords>
            <rdf:Bag>
               <rdf:li>Teton N.P.</rdf:li>
               <rdf:li>Togwotee Pass</rdf:li>
               <rdf:li>Yellowstone Trip 2006 Summer</rdf:li>
            </rdf:Bag>
         </acdsee:keywords>
         <acdsee:tagged>False</acdsee:tagged>

Could you please give me some insight into how I might get this done (if possible). These files are in directories based on the photo shoot.

Thanks for any help.

Tim G.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Importing keywords and xmp files
« Reply #1 on: December 24, 2008, 10:39:57 AM »
I just changed over from Acdsee Pro 2.5. But all of my images (200,000) have keywords either embedded or in sidecar files.

I am trying to import those keywords into Photo Mechanic but I am not quite sure how to do it. I did read the manual but I am not quite sure how this would work. I am not even sure it will work.

Here is the first few lines of one of the sidecar files. You can see the keywords are contained in this <acdsee:keywords>.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.1.1">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/">
         <acdsee:categories/>
         <acdsee:keywords>
            <rdf:Bag>
               <rdf:li>Teton N.P.</rdf:li>
               <rdf:li>Togwotee Pass</rdf:li>
               <rdf:li>Yellowstone Trip 2006 Summer</rdf:li>
            </rdf:Bag>
         </acdsee:keywords>
         <acdsee:tagged>False</acdsee:tagged>

Could you please give me some insight into how I might get this done (if possible). These files are in directories based on the photo shoot.

Photo Mechanic isn't going to see those keywords because it isn't aware of the 'acdsee' namespace.  It is really unfortunate that ACD Systems didn't just use the standard namespaces for IPTC4XMP which virtually every other XMP-aware application will understand.  It would be nice if you could post the entire contents of the XMP sidecar file so I can see if they duplicated the keywords in the well-known place as well.

Photo Mechanic also isn't a cataloging application-- it is a Photo Browser so it just 'sees' what you're browsing at the time.  On the Windows version of Photo Mechanic there is no database upon which it can perform keyword searches.

-Kirk

Offline timgillespie

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Re: Importing keywords and xmp files
« Reply #2 on: December 24, 2008, 10:46:43 AM »
I agree! What a shame.

Here is the entire file. Any thoughts are greatly appreciated.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.1.1">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/">
         <acdsee:categories/>
         <acdsee:keywords>
            <rdf:Bag>
               <rdf:li>Teton N.P.</rdf:li>
               <rdf:li>Togwotee Pass</rdf:li>
               <rdf:li>Yellowstone Trip 2006 Summer</rdf:li>
            </rdf:Bag>
         </acdsee:keywords>
         <acdsee:tagged>False</acdsee:tagged>
         <acdsee:notes/>
         <acdsee:rating>0</acdsee:rating>
         <acdsee:author/>
         <acdsee:datetime>2006-06-17T13:53:42.000</acdsee:datetime>
         <acdsee:caption/>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
         <tiff:Make>NIKON CORPORATION</tiff:Make>
         <tiff:Model>NIKON D200</tiff:Model>
         <tiff:Orientation>1</tiff:Orientation>
         <tiff:XResolution>300/1</tiff:XResolution>
         <tiff:YResolution>300/1</tiff:YResolution>
         <tiff:ResolutionUnit>2</tiff:ResolutionUnit>
         <tiff:ReferenceBlackWhite>
            <rdf:Bag>
               <rdf:li>0/1</rdf:li>
               <rdf:li>255/1</rdf:li>
               <rdf:li>0/1</rdf:li>
               <rdf:li>255/1</rdf:li>
               <rdf:li>0/1</rdf:li>
               <rdf:li>255/1</rdf:li>
            </rdf:Bag>
         </tiff:ReferenceBlackWhite>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:xap="http://ns.adobe.com/xap/1.0/">
         <xap:CreatorTool>Ver.1.00 </xap:CreatorTool>
         <xap:ModifyDate>2006-06-17T13:53:42.08-7:00</xap:ModifyDate>
         <xap:Rating>0</xap:Rating>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:exif="http://ns.adobe.com/exif/1.0/">
         <exif:ExposureTime>10/1800</exif:ExposureTime>
         <exif:FNumber>71/10</exif:FNumber>
         <exif:ExposureProgram>2</exif:ExposureProgram>
         <exif:ISOSpeedRatings>
            <rdf:Bag>
               <rdf:li>100</rdf:li>
            </rdf:Bag>
         </exif:ISOSpeedRatings>
         <exif:ExposureBiasValue>-2/6</exif:ExposureBiasValue>
         <exif:MaxApertureValue>43/10</exif:MaxApertureValue>
         <exif:MeteringMode>5</exif:MeteringMode>
         <exif:LightSource>0</exif:LightSource>
         <exif:Flash rdf:parseType="Resource">
            <exif:Fired>False</exif:Fired>
            <exif:Return>0</exif:Return>
            <exif:Mode>0</exif:Mode>
            <exif:Function>False</exif:Function>
            <exif:RedEyeMode>False</exif:RedEyeMode>
         </exif:Flash>
         <exif:FocalLength>520/10</exif:FocalLength>
         <exif:UserComment>
            <rdf:Alt>
               <rdf:li xml:lang="x-default">Copyright 2006 Tim Gillespie        </rdf:li>
            </rdf:Alt>
         </exif:UserComment>
         <exif:SensingMethod>2</exif:SensingMethod>
         <exif:FileSource>3</exif:FileSource>
         <exif:SceneType>1</exif:SceneType>
         <exif:CustomRendered>0</exif:CustomRendered>
         <exif:ExposureMode>0</exif:ExposureMode>
         <exif:WhiteBalance>0</exif:WhiteBalance>
         <exif:DigitalZoomRatio>1/1</exif:DigitalZoomRatio>
         <exif:FocalLengthIn35mmFormat>78</exif:FocalLengthIn35mmFormat>
         <exif:SceneCaptureType>0</exif:SceneCaptureType>
         <exif:GainControl>0</exif:GainControl>
         <exif:Contrast>0</exif:Contrast>
         <exif:Saturation>2</exif:Saturation>
         <exif:Sharpness>2</exif:Sharpness>
         <exif:SubjectDistanceRange>0</exif:SubjectDistanceRange>
         <exif:DateTimeOriginal>2006-06-17T13:53:42.08-7:00</exif:DateTimeOriginal>
         <exif:DateTimeDigitized>2006-06-17T13:53:42.08-7:00</exif:DateTimeDigitized>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">
         <photoshop:DateCreated>2006-06-17</photoshop:DateCreated>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:photomechanic="http://ns.camerabits.com/photomechanic/1.0/">
         <photomechanic:TimeCreated>135342-0700</photomechanic:TimeCreated>
         <photomechanic:Prefs>0:0:0:002424</photomechanic:Prefs>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>


Tim G.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Importing keywords and xmp files
« Reply #3 on: December 24, 2008, 01:04:29 PM »
Tim,

I agree! What a shame.

Here is the entire file. Any thoughts are greatly appreciated.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.1.1">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/">
         <acdsee:categories/>
         <acdsee:keywords>
            <rdf:Bag>
               <rdf:li>Teton N.P.</rdf:li>
               <rdf:li>Togwotee Pass</rdf:li>
               <rdf:li>Yellowstone Trip 2006 Summer</rdf:li>
            </rdf:Bag>
         </acdsee:keywords>
         <acdsee:tagged>False</acdsee:tagged>
         <acdsee:notes/>
         <acdsee:rating>0</acdsee:rating>
         <acdsee:author/>
         <acdsee:datetime>2006-06-17T13:53:42.000</acdsee:datetime>
         <acdsee:caption/>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
         <tiff:Make>NIKON CORPORATION</tiff:Make>
         <tiff:Model>NIKON D200</tiff:Model>
         <tiff:Orientation>1</tiff:Orientation>
         <tiff:XResolution>300/1</tiff:XResolution>
         <tiff:YResolution>300/1</tiff:YResolution>
         <tiff:ResolutionUnit>2</tiff:ResolutionUnit>
         <tiff:ReferenceBlackWhite>
            <rdf:Bag>
               <rdf:li>0/1</rdf:li>
               <rdf:li>255/1</rdf:li>
               <rdf:li>0/1</rdf:li>
               <rdf:li>255/1</rdf:li>
               <rdf:li>0/1</rdf:li>
               <rdf:li>255/1</rdf:li>
            </rdf:Bag>
         </tiff:ReferenceBlackWhite>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:xap="http://ns.adobe.com/xap/1.0/">
         <xap:CreatorTool>Ver.1.00 </xap:CreatorTool>
         <xap:ModifyDate>2006-06-17T13:53:42.08-7:00</xap:ModifyDate>
         <xap:Rating>0</xap:Rating>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:exif="http://ns.adobe.com/exif/1.0/">
         <exif:ExposureTime>10/1800</exif:ExposureTime>
         <exif:FNumber>71/10</exif:FNumber>
         <exif:ExposureProgram>2</exif:ExposureProgram>
         <exif:ISOSpeedRatings>
            <rdf:Bag>
               <rdf:li>100</rdf:li>
            </rdf:Bag>
         </exif:ISOSpeedRatings>
         <exif:ExposureBiasValue>-2/6</exif:ExposureBiasValue>
         <exif:MaxApertureValue>43/10</exif:MaxApertureValue>
         <exif:MeteringMode>5</exif:MeteringMode>
         <exif:LightSource>0</exif:LightSource>
         <exif:Flash rdf:parseType="Resource">
            <exif:Fired>False</exif:Fired>
            <exif:Return>0</exif:Return>
            <exif:Mode>0</exif:Mode>
            <exif:Function>False</exif:Function>
            <exif:RedEyeMode>False</exif:RedEyeMode>
         </exif:Flash>
         <exif:FocalLength>520/10</exif:FocalLength>
         <exif:UserComment>
            <rdf:Alt>
               <rdf:li xml:lang="x-default">Copyright 2006 Tim Gillespie        </rdf:li>
            </rdf:Alt>
         </exif:UserComment>
         <exif:SensingMethod>2</exif:SensingMethod>
         <exif:FileSource>3</exif:FileSource>
         <exif:SceneType>1</exif:SceneType>
         <exif:CustomRendered>0</exif:CustomRendered>
         <exif:ExposureMode>0</exif:ExposureMode>
         <exif:WhiteBalance>0</exif:WhiteBalance>
         <exif:DigitalZoomRatio>1/1</exif:DigitalZoomRatio>
         <exif:FocalLengthIn35mmFormat>78</exif:FocalLengthIn35mmFormat>
         <exif:SceneCaptureType>0</exif:SceneCaptureType>
         <exif:GainControl>0</exif:GainControl>
         <exif:Contrast>0</exif:Contrast>
         <exif:Saturation>2</exif:Saturation>
         <exif:Sharpness>2</exif:Sharpness>
         <exif:SubjectDistanceRange>0</exif:SubjectDistanceRange>
         <exif:DateTimeOriginal>2006-06-17T13:53:42.08-7:00</exif:DateTimeOriginal>
         <exif:DateTimeDigitized>2006-06-17T13:53:42.08-7:00</exif:DateTimeDigitized>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">
         <photoshop:DateCreated>2006-06-17</photoshop:DateCreated>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:photomechanic="http://ns.camerabits.com/photomechanic/1.0/">
         <photomechanic:TimeCreated>135342-0700</photomechanic:TimeCreated>
         <photomechanic:Prefs>0:0:0:002424</photomechanic:Prefs>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>

Bummer.  There is no IPTC4XMP data in there at all.  I'm not sure what you could do to correct this.  We could possibly add a tool to Photo Mechanic to translate their data to the standard IPTC4XMP data, but it would require you manually running the tool on all 200,000 of your images.  Probably not a good solution.

-Kirk

Offline timgillespie

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Re: Importing keywords and xmp files
« Reply #4 on: December 24, 2008, 01:50:28 PM »
Well thanks for looking.

I think I am going to hobble along for a while. That will give Acdsee SYstems some time to stabilize their code. Right now it crashes every few minutes when it runs at all.

Maybe by then there will be some news from you guys regarding your projects.

No matter how much time it is going to take, I have to have these images indexed so they are sortable.

Thanks again.

Tim G.