Skip to content

It’s our birthday month!

For the last 25 years, CC has worked to build a thriving global commons. We need your support to continue our work for another 25 years.

Donate today.

XMP JPEG embedding with PHP

Uncategorized

Melies color Voyage dans la lune, by Georges Méliès, Public Domain.

A couple weeks ago we announced a Java tool for embedding XMP metadata in PDFs. Now Jon Phillips has taken the pjmt PHP library and wrapped it with simple command line an library methods for embedding XMP metadata in JPEG image files. Obviously this would be useful for integration with web-based photo sites. Get the code from the xmp/jpeg-php module of the cctools subversion repository on sourceforge.

Also see our XMP overview page. As Nathan Yergler wrote a few days ago, this code is partially inspired by our Google Summer of Code experience.

Posted 23 September 2006