#------------------------------------------------------------------------------
# File:         exif2xmp.args
#
# Description:  Tag name translations for converting EXIF to XMP
#
# Usage:        exiftool -tagsFromFile SRCFILE -@ exif2xmp.args DSTFILE
#
# Requires:     ExifTool version 8.60 or later
#
# Revisions:    2009/01/20 - P. Harvey Created
#               2011/06/22 - PH Copy flash information via Composite:Flash
#
# 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
# XMP flash information is translated by the Composite Flash tag
-Composite:Flash < EXIF:Flash
# overwrite GPS tags which have different formats in XMP
-XMP:GPSLatitude < Composite:GPSLatitude
-XMP:GPSLongitude < Composite:GPSLongitude
-XMP:GPSDateTime < Composite:GPSDateTime
# end
