pombreda / python-xmp-toolkit

Automatically exported from code.google.com/p/python-xmp-toolkit
Other
0 stars 1 forks source link

XMP Not Writing to Image File #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Holm,

All packages installed successfully, but the functionality does not appear
to be working.  I ran the test/test.py to embed XMP to the Tiff image, but
it did not work as expected.  The XMP was not embedded, but the file's
Modified DateTime updated...

Has the writing capability been tested?  Perhaps there is a difference
between our systems??

Something interesting to note:

I have a Python script implementing the Python Image Library to extract the
XMP packet from a Tiff image.  It references the metadata based on the
appropriate Tiff Tag (for XMP it is 700). 

Extracting the XMP using this script, and using Adobe Bridge, I expected to
have two identical files.  However, they are different.  Interestingly, the
XMP extracted using my script acknowledges the Exempi library as a toolkit.

The XMP Specs state that multiple XMP packets can exist in an image. 
Perhaps Bridge prioritizes the packet it chooses to read based on the XMP
toolkit (xmptk).

I did a few regex searches for terms like 'xpacket', 'avm', 'Exempi'.  No
avm tags were written anywhere into the image.

Attached are the two XMP files and the Python script I use to extract
metadata.  Notice 'xmptk' on the second line of each XMP file.

Any thoughts?

Original issue reported on code.google.com by aka...@gmail.com on 8 Jul 2008 at 6:04

Attachments:

GoogleCodeExporter commented 9 years ago
So it seems like the problem was caused by a spelling mistake, which meant that 
the XMP was never read from 
the XMPFiles. The problem should have been corrected now, and changes have been 
committed to source 
control.

Original comment by lniel...@spacetelescope.org on 18 Sep 2008 at 9:53