Thread

Posted on Thu Jul 6 17:05:50 2006 by glz
Using Exiftool to update xmp files updated with IMatch
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
Direct Responses: 2583 | Write a response
Posted on Thu Jul 6 18:50:44 2006 by exiftool in response to 2582
Re: Using Exiftool to update xmp files updated with IMatch
Hi,

If you can send me a sample (phil at owl.phy.queensu.ca), I will add support for this type of XMP file to ExifTool.

Thanks.

- Phil
Direct Responses: 2586 | Write a response
Posted on Fri Jul 7 10:51:20 2006 by glz in response to 2583
Re: Using Exiftool to update xmp files updated with IMatch
Hi Phil, It's in the mail. - Goran
Direct Responses: 2595 | 3937 | Write a response
Posted on Fri Jul 7 15:48:35 2006 by exiftool in response to 2586
Re: Using Exiftool to update xmp files updated with IMatch
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
Write a response
Posted on Sun Dec 31 15:01:29 2006 by msiddall in response to 2586
Re: Using Exiftool to update xmp files updated with IMatch
Is there any progress on this - I'm on version 6.66 and I've just had exactly the same problem - Martin
Direct Responses: 3938 | Write a response
Posted on Sun Dec 31 15:37:35 2006 by exiftool in response to 3937
Re: Using Exiftool to update xmp files updated with IMatch
Hi Martin,

This problem should have been fixed. Please send me a sample file (to phil at owl.phy.queensu.ca) if you are still having problems.

Thanks.

- Phil
Direct Responses: 3939 | Write a response
Posted on Sun Dec 31 17:30:11 2006 by msiddall in response to 3938
Re: Using Exiftool to update xmp files updated with IMatch
Thanks, in the mail - martin
Direct Responses: 3940 | Write a response
Posted on Sun Dec 31 18:32:50 2006 by exiftool in response to 3939
Re: Using Exiftool to update xmp files updated with IMatch
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
Write a response