Ivan’s private site

XMP extraction service

I had, for a long time, a small Python script to extract RDF/XML information from jpg files when that information has been put there by, eg, Adobe’s XMP. Typical example is when one uses the “file info” facility of Adobe Photoshop from Adobe CS or Adobe CS2. The script simply uses a regular expression matching to extract the information, nothing fancy.

I have now made an on-line version of this: one can use URI GET to extract the RDF content on any jpg file via its URI. Here is the example URI to use:

http://www.ivan-herman.net/cgi-bin/xmp.py?uri=http://www.ivan-herman.net/Photos/xmptest.jpg

If no RDF information is found in the file, an empty RDF/XML file is returned. It is one single Python file, you can copy it and install it on another server if you want.

(I am almost sure there will be bugs in the script. Mail me then…)

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: