I just committed exif write support, which comes with the "write tag" action. This will allow the user to write arbitrary exif or iptc tags to its photos in a batch such as author, copyright, whitebalans, ... >From now on each photo instance has a metadata attribute in which exif and iptc info can be stored. This has the advantage that multiple actions can manipulate metadata, but it will only be written once which gives better performance and avoids unnecessary writes.
So Robin and Nadia ... about the gps action, So now the gps module needs to return the gps_data as a dictionary. I've updated the gps.py template: http://bazaar.launchpad.net/~stani/phatch/dev/annotate/head:/phatch/actions/gps.py Notice the difference between: - photo.info: can only be used for conciously changing the info dictionary - photo.get_info(): returns a copy of photo.info. This needs always to be used for data look up to avoid that by accident data can be overwritten. Maybe I'm exaggerating with this distinction, but better safe than sorry. Please start testing the write tag action. I'm sure there will be many bugs as it is quite an open ended feature. Does any of you know which file formats support exif and iptc tags as I should not try to write this kind of metadata to a bmp for example? Jpeg supports it, tiff also? Which others? Hope everything is clear, Stani -- Phatch Photo Batch Processor - http://photobatch.stani.be SPE Python IDE - http://pythonide.stani.be _______________________________________________ Mailing list: https://launchpad.net/~phatch-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~phatch-dev More help : https://help.launchpad.net/ListHelp

