Author Topic: Using Exiftool to update xmp files updated with IMatch  (Read 3112 times)

Archive

  • Newbie
  • *
  • Posts: 0
Using Exiftool to update xmp files updated with IMatch
« on: May 12, 2010, 08:53:55 AM »
[Originally posted by glz on 2006-07-06 14:05:50-07]

I use IMatch to organize my data and have found that exiftool cant read the xmp sidecar files after IMatch has updated them. This is because the exiftool generated file starts with an xpacket processing instruction while the IMatch updated file starts with a standard BOM and the xml declaration. Trying to read the updated file results in Error: Image format error. After removing the BOM and the xml declaration, exiftool reads the file correctly.

The IMatch updated file validates as XML and is readable with other XML tolls, even perl based.

Is there any way to force exiftool to read the file as XML?

/glz

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #1 on: May 12, 2010, 08:53:55 AM »
[Originally posted by exiftool on 2006-07-06 15:50:44-07]

Hi,

If you can send me a sample (philharvey66 at gmail.com), I will add support for this type of XMP file to ExifTool.

Thanks.

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #2 on: May 12, 2010, 08:53:55 AM »
[Originally posted by glz on 2006-07-07 07:51:20-07]

Hi Phil, It's in the mail. - Goran

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #3 on: May 12, 2010, 08:53:55 AM »
[Originally posted by exiftool on 2006-07-07 12:48:35-07]

Hi Goran,

Thanks for the sample, it is very useful to have a specific example.

I have added the ability to read and write XMP in XML-format files, and this update
will appear in ExifTool 6.27 when it is released.  In case you want to test it before
the official release, I have uploaded a pre-release
here.

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #4 on: May 12, 2010, 08:53:59 AM »
[Originally posted by msiddall on 2006-12-31 13:01:29-08]

Is there any progress on this - I'm on version 6.66 and I've just had exactly the same problem

- Martin

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #5 on: May 12, 2010, 08:53:59 AM »
[Originally posted by exiftool on 2006-12-31 13:37:35-08]

Hi Martin,

This problem should have been fixed.  Please send me a sample file
(to philharvey66 at gmail.com) if you are still having problems.

Thanks.

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #6 on: May 12, 2010, 08:53:59 AM »
[Originally posted by msiddall on 2006-12-31 15:30:11-08]

Thanks, in the mail

- martin

Archive

  • Newbie
  • *
  • Posts: 0
Re: Using Exiftool to update xmp files updated with IMatch
« Reply #7 on: May 12, 2010, 08:53:59 AM »
[Originally posted by exiftool on 2006-12-31 16:32:50-08]

Martin,

Thanks for the sample.  ExifTool was not recognizing this XMP
file because it starts with a UTF byte order mark.  (This is different
than the previous problem where the files began with an XML header.)

I have fixed this, and ExifTool 6.68 should work with these files.  You
can download a 6.68 pre-release
here
if you want to test it out before the official release.

Thanks for pointing out this problem.

   - Phil