Mac::iPhoto::Exif - Write iPhoto meta data to Exif
console$ iphoto2exif --directory /data/photo/2010/summer_vacation
or
use Mac::iPhoto::Exif; my $iphotoexif = Mac::iPhoto::Exif->new( directory => '/data/photo/2010/summer_vacation' ); $iphotoexif->run;
This module write meta data from the iPhoto database like keywords, geo locations, comments, ratings and faces to the pictures Exif data.
The following exif tags are being used:
PersonInImage
Keywords
UserComment
Rating
GPSLatitude, GPSLongitude, GPSLatitudeRef, GPSLongitudeRef
Limit operation to one or more directories.
ArrayRef of Path::Class::Dir
Exclude one or more directories.
Path to the iPhoto AlbumData.xml database.
Path::Class::File
Be more/less verbose.
Accepted loglevels are : debug, info, warn and error
Default: info
Change file create time according to exif timestamps
Default: true
Backup changed files
Default: false
Do not alter files, just log actions
Return the iPhoto album as a XML::LibXml::Doc object
Run the iPhoto to Exif conversion
Log message
This module has been extensively tested on my machine (OSX 10.6.6, iPhoto 9.1.1) and deemed to work correctly. However I do not guarantee that it will work correctly on any other machine/setup. So make sure that you have backups of your valualble pictures before running this program!
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. PERFORMANCE OF THE SOFTWARE IS WITH YOU.
IN NO EVENT WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE.
Please report any bugs or feature requests to mac-iphoto-exif@rt.cpan.org, or through the web interface at http://rt.cpan.org/Public/Bug/Report.html?Queue=Mac::iPhoto::Exif. I will be notified and then you'll automatically be notified of the progress on your report as I make changes.
mac-iphoto-exif@rt.cpan.org
Maroš Kollár CPAN ID: MAROS maros [at] k-1.com L<http://www.k-1.com>
Mac::iPhoto::Exif is Copyright (c) 2009, Maroš Kollár - http://www.k-1.com
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Mac::iPhoto::Exif, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mac::iPhoto::Exif
CPAN shell
perl -MCPAN -e shell install Mac::iPhoto::Exif
For more information on module installation, please visit the detailed CPAN module installation guide.