I need to extract XMP metadata from image files. My main target for now is extracting the RDF info (XML) that Photoshop can embed in JPEG files, but according to the draft spec (100k PDF file), this kind of metadata can also be embedded in GIF, PNG, TIFF, EPS, SVG and PDF files.
Now it looks like the proper way to extract it, is the same way that Image::Info works, extracting all sorts of data out of image files, but not this kind.
Is this something one could reasonably expect Image::Info to handle? In other words, should Image::Info get patched? Or should I copy the work that's gone into Image::Info and adapt it, resulting into a separate module?
OTOH, it might be nice to be able to write out modified XMP data as well. I don't think that's quite up Image::Info's street.
I'll start by doing the latter, I can see where to go from there, depending on how heavy the required modifications are.