home *** CD-ROM | disk | FTP | other *** search
- #
- # File: xmp2exif.args
- #
- # Description: Tag name translations for converting XMP to EXIF
- #
- # Usage: exiftool -tagsFromFile SRCFILE -@ xmp2exif.args DSTFILE
- #
- # Revisions: 2009/01/20 - P. Harvey Created
- #
- # Notes: The first argument copies the bulk of the EXIF and GPS
- # information, and the remaining arguments handle the tags
- # which have different names and/or formats in XMP and EXIF.
- #
- # References: http://www.metadataworkinggroup.org/specs/
- #
- -EXIF:all < XMP:all
- -EXIF:ImageDescription < XMP-dc:Description
- -EXIF:DateTimeOriginal < XMP-photoshop:DateCreated
- # magically extracts sub-seconds from date/time value if available
- -EXIF:SubSecTimeOriginal < XMP-photoshop:DateCreated
- #-EXIF:CreateDate < XMP-xmp:CreateDate (handled by mass copy)
- -EXIF:SubSecTimeDigitized < XMP-xmp:CreateDate
- #-EXIF:ModifyDate < XMP-xmp:ModifyDate (handled by mass copy)
- -EXIF:SubSecTime < XMP-xmp:ModifyDate
- -EXIF:Copyright < XMP-dc:Rights
- -EXIF:Artist < XMP-dc:Creator
- # generate GPS tags which have been combined into other XMP tags
- -GPS:GPSLatitudeRef < Composite:GPSLatitudeRef
- -GPS:GPSLongitudeRef < Composite:GPSLongitudeRef
- -GPS:GPSDatestamp < XMP-exif:GPSDateTime
- -GPS:GPSTimestamp < XMP-exif:GPSDateTime
- # end
-