XMP is the XML syntax Adobe uses to save metadata within image files.
GN4 uses the same syntax to read all such data.
In other words, that means that ParseImg reads from an image:
•File metadata (dimensions, resolution, etc...)
•IPTC headers (see also Wire images caption)
•EXIF variables
•Other XMP packets in the file
and then returns all data in an XML that uses the XMP syntax.
To review the returned data by ParseImg, execute
parser.exe –in c:\temp\Ansa06618348.jpg –out c:\temp\metadata.xml
If an image contains both IPTC and XMP caption, in versions prior to 1.6, the XMP caption only is returned - the same behavior as in Photoshop. In version 1.6 and newer, both IPTC set and XMP set are returned separately.
Version 1.6. introduces new metadata attributes for IPTC values only. These attributes (for read-only use) are used for read IPTC information, and contain only the native IPTC values, ignoring any XMP information. Note: The existing IPTC/XMP values are not changed, so if the parsed image has only IPTC information, the IPTC/XMP and the new IPTC attributes will have the same values. Elements definition: Namespace: xmlns:teraXmp="http://www.teradp.com/schemas/xmp/"
output sample <source lang="xml"> <rdf:Description rdf:about="D:\salz.jpg" xmlns:teraXmp="http://www.teradp.com/schemas/xmp/" teraXmp:City="Salzburg" teraXmp:Country="Österreich?" teraXmp:DateCreated="2007-11-05T14:09:44Z" teraXmp:Source="071105_1509.002_mo_her_27kb_1.250_6.7nm_d_200i_2968x_k100.jpg" teraXmp:State="Land Salzburg" teraXmp:Urgency="0" teraXmp:Headline="HERBST AM KAPUZINERBERG" teraXmp:CaptionWriter="Albert Bogner, Salzburg" teraXmp:ContactInfoDetails="gpg-keyserver.de/pks/lookup?search=0xFA6E86F6" teraXmp:OriginatingProgram="ImageMagick" teraXmp:VersionProgram="6.3.5 Q16" teraXmp:Priority="0"> <teraXmp:Subject> <rdf:Bag> <rdf:li>herbst am kapuzinerberg</rdf:li> <rdf:li>2007</rdf:li> <rdf:li>2007-11</rdf:li> <rdf:li>november</rdf:li> <rdf:li>österreich</rdf:li> <rdf:li>land salzburg</rdf:li> <rdf:li>salzburg</rdf:li> <rdf:li>kapuzinerberg</rdf:li> <rdf:li>basteiweg</rdf:li> <rdf:li>baum</rdf:li> </rdf:Bag> </teraXmp:Subject> <teraXmp:Description> <rdf:ALT> <rdf:li xml:lang="x-default">Spaziergang am südlichen Kapuzinerberg in der Stadt Salzburg. © 2007 by <a href="http://www.bognernet.eu">Albert Bogner</a>, Salzburg.</rdf:li> </rdf:ALT> </teraXmp:Description> <teraXmp:Copyright> <rdf:ALT> <rdf:li xml:lang="x-default">Copyr. 2007 by Albert Bogner, Salzburg</rdf:li> </rdf:ALT> </teraXmp:Copyright> </rdf:Description> |
Should you need to duplicate IPTC in XMP in batch processing, take a look to this tool: http://www.sno.phy.queensu.ca/~phil/exiftool/
|