Supporting IPTC Core
kedoin
Joined: 2004-01-22
Posts: 6 |
Posted: Sun, 2005-11-20 14:19 |
I was wondering if anyone has considered supporting the IPTC Core for metadata information. I've seen a few forum posts about IPTC/EXIF data, but I get the general impression (perhaps not well informed) that this is the old-style data. However, from my web reading, it seems that the IPTC and Adobe have been moving towards a new standard that uses Adobe's XMP technology to embed an XML file into the JPEG file which contains the meta information for the image. The IPTC Core website is at: There is also apparently a Yahoo-Groups related to this at: Adobe provides an XMP developer kit at: I haven't tried to build the included library, but it claims, "There is a single .zip file download that is usable on Macintosh, Windows®, and UNIX. Almost all text files, including all C/C++ source files, have UNIX-style line endings using ASCII linefeed. The Visual Studio project files have Windows-style carriage-return/linefeed line endings." Mostly, I think this might be of interest since I remember reading in a forum entry that we don't have the ability to *write* EXIF/IPTC data and I wonder if we should leapfrog that problem and try to write XMP metadata instead. |
|
Posts: 6
I also just found "The PHP Metadata Toolkit"
http://www.ozhiker.com/electronics/pjmt/
It seems to be what everyone's looking for. It says it can read *and write* EXIF/IPTC and XMP.
Posts: 32509
@write xmb data only:
it's a new format. it's nice to support new formats but we have to support the defacto standards as long as they exist.
@pure php metadata toolkit:
interesting. thanks for the link. i've sent the author an email with some questions.
but the exiftool perl lib looks a lot more mature and has much more features. maybe we can add this php toolkit as alternative.
Posts: 105
Has anyone followed up on this more? I would like to avoid recoding duplication, but need to figure out how to get Windows Live Photo Gallery (WLPG) XMP format pulled into Gallery2 tags.
Posts: 105
After more code sifting, I think it would be easiest to clone the TimestampsToTags class extension of the admin/maintenance class and plug in an XMP parse of each file name rather than some how hook into the various file upload and populate tags there...only real issue is me figuring out a good PHP based XMP parser to pick up the tags. for now, I'm going to try to migrate to G3 (just got my webhost to migrate my account to MySQL 5).