Files
Phraseanet/lib/exiftool/xmp2iptc.args
2011-02-16 16:09:48 +01:00

52 lines
2.3 KiB
Plaintext

#------------------------------------------------------------------------------
# File: xmp2iptc.args
#
# Description: Tag name translations for converting from XMP to IPTC
#
# Usage: exiftool -tagsFromFile SRCFILE -@ xmp2iptc.args DSTFILE
#
# Revisions: 2005/05/14 - P. Harvey Created
# 2008/03/04 - PH Changed Location translation and added
# IntellectualGenre and SubjectCode
# 2008/09/30 - PH Added writing of Photoshop:IPTCDigest
# 2009/01/20 - PH Updated to conform with MWG spec
# 2009/10/21 - PH Write IPTC:DigitalCreationDate/Time tags
#
# References: http://www.iptc.org/IPTC4XMP/
# http://www.iptc.org/IIM/
# http://www.adobe.com/products/xmp/pdfs/xmpspec.pdf
# http://www.metadataworkinggroup.org/specs/
#
# Notes: Also updates Photoshop:IPTCDigest as per MWG recommendation.
#------------------------------------------------------------------------------
-IPTC:By-line < XMP-dc:Creator
-IPTC:Caption-Abstract < XMP-dc:Description
-IPTC:CopyrightNotice < XMP-dc:Rights
-IPTC:Keywords < XMP-dc:Subject
-IPTC:ObjectName < XMP-dc:Title
-IPTC:By-lineTitle < XMP-photoshop:AuthorsPosition
-IPTC:Writer-Editor < XMP-photoshop:CaptionWriter
-IPTC:Category < XMP-photoshop:Category
-IPTC:City < XMP-photoshop:City
-IPTC:Country-PrimaryLocationName < XMP-photoshop:Country
-IPTC:Credit < XMP-photoshop:Credit
-IPTC:DateCreated < XMP-photoshop:DateCreated
# magically extracts time from a date/time value
-IPTC:TimeCreated < XMP-photoshop:DateCreated
-IPTC:Headline < XMP-photoshop:Headline
-IPTC:SpecialInstructions < XMP-photoshop:Instructions
-IPTC:Source < XMP-photoshop:Source
-IPTC:Province-State < XMP-photoshop:State
-IPTC:SupplementalCategories < XMP-photoshop:SupplementalCategories
-IPTC:OriginalTransmissionReference < XMP-photoshop:TransmissionReference
-IPTC:Urgency < XMP-photoshop:Urgency
-IPTC:Country-PrimaryLocationCode < XMP-iptcCore:CountryCode
-IPTC:Sub-location < XMP-iptcCore:Location
-IPTC:DigitalCreationDate < XMP-xmp:CreateDate
-IPTC:DigitalCreationTime < XMP-xmp:CreateDate
# these tags are not free-form text, and may need special handling:
#-IPTC:ObjectAttributeReference < XMP-iptcCore:IntellectualGenre
#-IPTC:SubjectReference < XMP-iptcCore:SubjectCode
-Photoshop:IPTCDigest=new
# end