Files
Phraseanet/lib/exiftool/exif2xmp.args
2011-02-16 16:09:48 +01:00

32 lines
1.4 KiB
Plaintext

#------------------------------------------------------------------------------
# File: exif2xmp.args
#
# Description: Tag name translations for converting EXIF to XMP
#
# Usage: exiftool -tagsFromFile SRCFILE -@ exif2xmp.args DSTFILE
#
# Revisions: 2009/01/20 - P. Harvey Created
#
# References: http://www.metadataworkinggroup.org/specs/
#
# Notes: The first argument copies most of the EXIF and GPS tags to
# XMP-exif/XMP-tiff, and the remaining arguments handle tags
# which have different names and/or formats in EXIF and XMP.
#------------------------------------------------------------------------------
-XMP:all < EXIF:all
-XMP-dc:Description < EXIF:ImageDescription
# overwrite date/time values to include sub-second information if available
-XMP-photoshop:DateCreated < EXIF:DateTimeOriginal
-XMP-photoshop:DateCreated < Composite:SubSecDateTimeOriginal
#-XMP-xmp:CreateDate < EXIF:CreateDate (handled by the mass copy)
-XMP-xmp:CreateDate < Composite:SubSecCreateDate
#-XMP-xmp:ModifyDate < EXIF:ModifyDate (handled by the mass copy)
-XMP-xmp:ModifyDate < Composite:SubSecModifyDate
-XMP-dc:Rights < EXIF:Copyright
-XMP-dc:Creator < EXIF:Artist
# overwrite GPS tags which have different formats in XMP
-XMP:GPSLatitude < Composite:GPSLatitude
-XMP:GPSLongitude < Composite:GPSLongitude
-XMP:GPSDateTime < Composite:GPSDateTime
# end