mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
32 lines
1.4 KiB
Plaintext
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
|