edit xmp metadata: developers needed
mark at maseurope.net
Wed Sep 27 05:01:44 CDT 2006
it describes a typical xmp packet as:
<?xpacket begin='x' id='W5M0MpCehiHzreSzNTczkc9d'?>
... 700 bytes of XML data text ...
... 500 bytes of XML whitespace as padding ...
so if I understand this right, something like
put URL ("binfile:" & yourJpeg) into tData
put offset("<?xpacket begin", tData) into startChar
--- if startChar = 0 then presumably there is no xmp packet....
put offset("<?xpacket end",tData) -1 into endChar
put char startChar to endChar of tData into tXML
delete char 1 to it of tXML
would leave the actual XML data in the variable tXML.
A possible starting point, anyway.
On 27 Sep 2006, at 10:14, Henk van der Velden wrote:
> Good day all,
> Can anyone help me with editing XMP metadata in image files (JPEG)?
> I've searched the archives and I've found some messages about EXIF
> data and IPTC metadata. But it looks like no one has done XMP
> reading / editing yet. It wouldn't perhaps be too difficult, since
> XMP data is 'just' an XML tree put somewhere into the JPEG binary
> data. But I have no knowledge of binary data, so I can't figure out
> how to add these metadata to a (JPEG) file.
> Another option might be Image Magick. If an external could be built
> around the Image Magick libraries, that would provide another way
> to read and edit XMP data.
> I need this facility for a new application we are going to build
> for a couple of local cultural institutions. We need to describe
> lots of historical photographs, and it looks like the best way to
> store these descriptions is as metadata inside the files. These
> images are also to be used in educational applications, where
> children can read - and eventually edit - the metadata.
> There will be a budget to develop this kind of thing. So what I
> would like to know is:
> - who feels able to develop this?
> - how would you build this kind of functionality
> - an estimation of the costs
> You can contact me off list.
> Kind regards,
> Henk v.d. Velden
> iGlow Media
> Magda Janssenslaan 44
> 3584 GR UTRECHT
> 0031 (0)6 16 024 337
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode