Closed (won't fix)
Project:
Exif
Version:
6.x-1.3-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2010 at 18:43 UTC
Updated:
15 Feb 2016 at 23:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
silvio commentedComment #2
rapsli commentedHi there
Looks great. Thanks for the work. I think I might modify the code a little bit, just to better split it up, so it's better maintainable. It would be really great if you could write the code in a matter so this library isn't needed, as there might be a lot of people who don't have it, which will then lead to issues in the issue queue.
Comment #3
rapsli commentedbtw. do you have an XMP image? So I can test it on my machine?
Comment #4
rapsli commentedLooked at it. Looks fine to me. I made the XMP not a requirement for the module.
committed to head.
It would be nice if the XMP information would be included in the admin part: function exif_admin_settings()
Comment #5
silvio commentedHi, thanks for the quick reply :)
I just made some more changes and here comes a new patch (this one is incremental and may be applied directly atop of the changes you just commited). The patch basically introduces some error handling and new XMP metada fields.
I'm looking forward to provide some sample image, update exif_admin_settings() and also to not depend in the XMP PHP Toolkit.
Comment #6
rapsli commentedI actually already built that in (that it doesn't depend on the XMP Toolkit)
Comment #7
rapsli commentedlet me get the changes of exif_admin_settings() into the module
Comment #8
rapsli commentedapplied patch
Comment #10
silvio commentedSorry for the long delay... :/
Here goes a sample image loaded with XMP metadata available for testing purposes.
I was looking for pure-PHP XMP libraries but so far I just found very outdated/unmaintained (like The PHP JPEG Metadata Toolkit) or too simple/incomplete (like Image_JpegXmpReader, ee_extract_exif_from_pscs_xmp and some snippets). At the Creative Commons XMP page there's a mention to a
xmp/php-jpegmodule but I can't find it.So currently I just see XMP Toolkit PHP Extension as a viable implementation.
Development of this feature is being supported by Cinemateca Brasileira (Brazilian Film Museum).
Comment #11
joeysantiago commentedWell, since i didn't have php 5.3 on my server, i wrote a small module taking some ideas and code from exif in order to use xmp metadata to populate tag taxonomies.
here's the rough code that i used with imagefield_import to import images from a folder.
hope it can be useful! :)
Comment #12
joeysantiago commentedHelo...
i added support for a second taxonomy where to put author's data.
there's then an admin page where you're asked to set up the two taxonomies ids.
Comment #13
silvio commentedI haven't time to review and test this patch, but maybe it could be integrated in the existing exif module as an alternative to XMP Toolkit PHP Extension.
Comment #14
jphautin commented