mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
#------------------------------------------------------------------------------
|
|
# 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
|
|
#
|
|
# References: http://www.metadataworkinggroup.org/specs/
|
|
#
|
|
# 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.
|
|
#------------------------------------------------------------------------------
|
|
-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
|