Another Labs release, this time an update to the XMP Toolkit. XMP (Extensible Metadata Platform) is a labeling technology used to embed metadata within media files. The XMP Toolkit allows developers to programmatically access metadata in AVI, EPS, INDD, JPEG, MOV, MP3, MPEG, PNG, PS, PSD, TIFF, and WAV files. The update to XMP Toolkit 4.1 adds Java support (among other things) which means that the toolkit can be used within ColdFusion applications.

19 thoughts

  1. how does this relate to the EXIF information in an image file or IDv3 tag info in MP3 files? can you read and write this information or is it a separate set of data?

  2. German, no, there is no ActionScript version that I am aware of. Plus, as Flash has no file I/O APIs there would be little value in doing so. Now for Apollo …
    — Ben

  3. It’s actually proven to be a little more involved than I had hoped, the Java libraries are not as complete as the C ones. But I’ll figure something out and will post when I do.
    — Ben

  4. "how does this relate to the EXIF information in an image file or IDv3 tag info in MP3 files? can you read and write this information or is it a separate set of data?"
    The XMP libraries synch data between ‘legacy’ metadata such as EXIF – so when you call for a metadata update it will write both the XMP and EXIF info.
    Gunar

  5. I am also trying to do something with this java toolkit. The documentation in not easy and I just spend time to find a way to read the XMP from a jpeg. Please Ben send us a simple example. I am actually using Exiftool by Phil Harvey and I would like to try with java classes.

  6. Since several people have asked about XMP, here’s a example of writing XMP into a PDF using CF8’s iText. Having a few issues with reading XMP, but the data definitely gets written into the file. Might be a useful starting point. http://tinyurl.com/3556uz

  7. Hi Ben,
    Do you know of any examples for manipulating XMP from ColdFusion (or Java)? Since this post in 2007, ColdFusion has of course added all the image functionality including the ImageGetExifMetadata and ImageGetIPTCMetadata functions, however those functions access XMP metadata as read only because the metadata extractor doesn’t provide write capability. I’m seeking examples for how to write IPTC metadata to image files (including JPG, PNG, TIFF, and PSD).
    I’ve been trudging through the ActionScript Library for XMP. Its quite dense and doesn’t provide real world practical examples, but has been useful towards learning how to manipulate XMP from the client side.
    Thanks!

  8. Hi Ben,
    Do you know of any examples for manipulating XMP from ColdFusion (or Java)? Since this post in 2007, ColdFusion has of course added all the image functionality including the ImageGetExifMetadata and ImageGetIPTCMetadata functions, however those functions access XMP metadata as read only because the metadata extractor doesn’t provide write capability. I’m seeking examples for how to write IPTC metadata to image files (including JPG, PNG, TIFF, and PSD).
    I’ve been trudging through the ActionScript Library for XMP. Its quite dense and doesn’t provide real world practical examples, but has been useful towards learning how to manipulate XMP from the client side.
    Thanks!

Leave a Reply