exif2xmp.args 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #------------------------------------------------------------------------------
  2. # File: exif2xmp.args
  3. #
  4. # Description: Tag name translations for converting EXIF to XMP
  5. #
  6. # Usage: exiftool -tagsFromFile SRCFILE -@ exif2xmp.args DSTFILE
  7. #
  8. # Requires: ExifTool version 8.60 or later
  9. #
  10. # Revisions: 2009/01/20 - P. Harvey Created
  11. # 2011/06/22 - PH Copy flash information via Composite:Flash
  12. # 2013/06/12 - PH Additions for the Exif 2.3 for XMP spec
  13. # 2015/01/12 - PH Avoid copying to non-standard namespaces
  14. #
  15. # References: http://www.metadataworkinggroup.org/specs/
  16. #
  17. # Notes: 1) The first three arguments copy most of the EXIF and GPS tags to
  18. # XMP-exif/XMP-tiff, and the remaining arguments handle tags
  19. # which have different names and/or formats in EXIF and XMP.
  20. #
  21. # 2) These arguments will not delete XMP tags which are missing
  22. # from the EXIF. The XMP tags should be deleted beforehand if
  23. # required.
  24. #------------------------------------------------------------------------------
  25. -XMP-exif:all < EXIF:all
  26. -XMP-exifEX:all < EXIF:all
  27. -XMP-tiff:all < EXIF:all
  28. -XMP-dc:Description < EXIF:ImageDescription
  29. # overwrite date/time values to include sub-second information if available
  30. -XMP-photoshop:DateCreated < EXIF:DateTimeOriginal
  31. -XMP-photoshop:DateCreated < Composite:SubSecDateTimeOriginal
  32. -XMP-xmp:CreateDate < EXIF:CreateDate
  33. -XMP-xmp:CreateDate < Composite:SubSecCreateDate
  34. -XMP-xmp:ModifyDate < EXIF:ModifyDate
  35. -XMP-xmp:ModifyDate < Composite:SubSecModifyDate
  36. -XMP-xmp:CreatorTool < EXIF:Software
  37. -XMP-dc:Rights < EXIF:Copyright
  38. -XMP-dc:Creator < EXIF:Artist
  39. # XMP flash information is translated by the Composite Flash tag
  40. -Composite:Flash < EXIF:Flash
  41. # overwrite GPS tags which have different formats in XMP
  42. -XMP:GPSLatitude < Composite:GPSLatitude
  43. -XMP:GPSLongitude < Composite:GPSLongitude
  44. -XMP:GPSDateTime < Composite:GPSDateTime
  45. # end