2007-08-22T11:35:41Z
Dave Pawson.
link
Home
Extra Metadata
I posted yesterday about extracting the exif data from digital photographs. I've extendeded the workflow as I mentioned. I'm now writing the metadata into the same directory, same name as the image, different extension. Recalling looking at old photographs with my relations, my goal is to name people and title the pieces. Then add geo: tags if wanted. All optional, so that I could plough through a whole directory fully automatically. To help with titling, I've pulled the thumbnail out of the image and show it with gThumb. Since I'm writing to the same file each time, and gThumb updates with the new image, I'm not creating lots of waste on the disk. All I had to do was truncate the calling script to not call the Java file to re-write back into the exif comment fields, then extend the Python to add the extra fields. Before I finish I want some means of saying that Aunty Gertrude (or whoever it is), is the 3rd one on the left. SVG was suggested, but I'm having fun with transforms (SVG transforms rather than XSLT transforms), which mess with the relative position. I need something simpler. Something like
foaf:name "Aunt Gertrude"; xxx:position "Back row, mouth open";
But I'm stuck for such a Semweb term. Any suggestions
Unlikely, but if anyone wants the Python, it's here, still in development though. There is also a script which calls up the exiftool and the Python. It's not much of a job to extend that to work on a full directory. Enjoy
Keywords: exif, emacs
Comments (View)Return to main index