Guess it depends on whether they actually followed any kind of standard in encoding the data in the TIFF files.
http://www.metadataworkinggroup.com/pdf/mwg_guidance.pdf Genny Engel Internet Librarian Sonoma County Library gen...@sonoma.lib.ca.us www.sonomalibrary.org 707 545-0831 x581 -----Original Message----- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Edward M. Corrado Sent: Monday, July 18, 2011 7:40 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] TIFF Metadata to XML? Thanks for all the suggestions. I know have multiple ways to get an XML file... now I only need to figure out which fields map to what. Edward On Mon, Jul 18, 2011 at 9:57 AM, Dave Rice <d...@avpreserve.com> wrote: > Try exiftool with the -X flag to get RDF XML output. > Dave Rice > avpreserve.com > > On Jul 18, 2011, at 9:18 AM, Edward M. Corrado wrote: > >> Hello All, >> >> Before I re-invent the wheel or try many different programs, does >> anyone have a suggestion on a good way to extract embedded Metadata >> added by cameras and (more importantly) photo-editing programs such as >> Photoshop from TIFF files and save it as as XML? I have > 60k photos >> that have metadata including keywords, descriptions, creator, and >> other fields embedded in them and I need to extract the metadata so I >> can load them into our digital archive. >> >> Right now, after looking at a few tools and having done a number of >> Google searches and haven't found anything that seems to do what I >> want. As of now I am leaning towards extracting the metadata using >> exiv2 and creating a script (shell, perl, whatever) to put the fields >> I need into a pseudo-Dublin Core XML format. I say pseudo because I >> have a few fields that are not Dublin Core. I am assuming there is a >> better way. (Although part of me thinks it might be easier to do that >> then exporting to XML and using XSLT to transform the file since I >> might need to do a lot of cleanup of the data regardless.) >> >> Anyway, before I go any further, does anyone have any >> thoughts/ideas/suggestions? >> >> Edward >