New Adobe xmp-aux tags (Lightroom 6)

Started by Marsu42, May 12, 2015, 04:15:28 AM

Previous topic - Next topic

Marsu42

Yo Mr.  Dev Sir, Adobe has added some new xmp-aux support tags with their latest Lightroom 6 features hdr & panorama. It would be nice to have them supported in exiftool for easy compatibility tagging of hdr & panos created w/o LR.

The first two names speak for themselves, the other three are to indicate that the respective lens corrections were applied before merging to prevent double processing:

-XMP-aux:IsMergedPanorama="True"
-XMP-aux:IsMergedHDR="True"

-XMP-aux:DistortionCorrectionAlreadyApplied="True"
-XMP-aux:LateralChromaticAberrationCorrectionAlreadyApplied="True"
-XMP-aux:VignetteCorrectionAlreadyApplied"True"

Phil Harvey

Great, thanks.  Could you please attach an XMP sample with these tags?  (ie. the output from exiftool -xmp -b FILE).  I need to see the original XMP to be able to add support.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Marsu42

Quote from: Phil Harvey on May 12, 2015, 07:32:12 AM
Great, thanks.  Could you please attach an XMP sample with these tags?  (ie. the output from exiftool -xmp -b FILE).

Here you go, it's from a pano, exchange the respective tag for an hdr generated from lr6


<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c011 79.156380, 2014/05/21-23:38:37        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
    xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
    xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/"
    xmlns:plus="http://ns.useplus.org/ldf/xmp/1.0/"
    xmlns:lr="http://ns.adobe.com/lightroom/1.0/"
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
   dc:format="image/dng"
   xmp:CreatorTool="Adobe Photoshop Lightroom 6.0 (Windows)"
   xmp:ModifyDate="2015-05-12T09:12:53+02:00"
   xmp:CreateDate="2015-05-11T18:52:06.38"
   xmp:MetadataDate="2015-05-12T09:12:53+02:00"
   aux:SerialNumber="000000000000"
   aux:LensInfo="17/1 40/1 0/0 0/0"
   aux:Lens="EF17-40mm f/4L USM"
   aux:LensID="231"
   aux:LensSerialNumber="0000000000"
   aux:ImageNumber="0"
   aux:ApproximateFocusDistance="372/100"
   aux:FlashCompensation="0/1"
   aux:Firmware="1.1.3"
   aux:IsMergedPanorama="True"
   aux:DistortionCorrectionAlreadyApplied="True"
   aux:LateralChromaticAberrationCorrectionAlreadyApplied="True"
   aux:VignetteCorrectionAlreadyApplied="True"
   photoshop:DateCreated="2015-05-11T18:52:02.48"
   photoshop:TransmissionReference="NEW"
   xmpMM:DocumentID="xmp.did:2e5de5c6-599c-4446-a8b3-ed61ff2b31cd"
   xmpMM:OriginalDocumentID="52727C44DE171E89A549E690B2297749"
   xmpMM:InstanceID="xmp.iid:2e5de5c6-599c-4446-a8b3-ed61ff2b31cd"
   Iptc4xmpExt:DigitalSourceType="http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture"
   plus:PropertyReleaseStatus="nil"
   plus:Version="1.2.0"
   crs:HasCrop="False">
   <dc:title>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">_</rdf:li>
    </rdf:Alt>
   </dc:title>
   <dc:subject>
    <rdf:Bag>
     <rdf:li>Keyword Sets ...</rdf:li>
     <rdf:li>[[[ML-DUAL]]]</rdf:li>
    </rdf:Bag>
   </dc:subject>
   <xmpMM:History>
    <rdf:Seq>
     <rdf:li
      stEvt:action="derived"
      stEvt:parameters="saved to new location"/>
     <rdf:li
      stEvt:action="saved"
      stEvt:instanceID="xmp.iid:8e62713d-bdc9-4b4f-985f-603abcc9259c"
      stEvt:when="2015-05-12T07:23:36+02:00"
      stEvt:softwareAgent="Adobe Photoshop Lightroom 6.0 (Windows)"
      stEvt:changed="/"/>
     <rdf:li
      stEvt:action="derived"
      stEvt:parameters="saved to new location"/>
     <rdf:li
      stEvt:action="saved"
      stEvt:instanceID="xmp.iid:2e5de5c6-599c-4446-a8b3-ed61ff2b31cd"
      stEvt:when="2015-05-12T09:12:53+02:00"
      stEvt:softwareAgent="Adobe Photoshop Lightroom 6.0 (Windows)"
      stEvt:changed="/"/>
    </rdf:Seq>
   </xmpMM:History>
   <xmpMM:DerivedFrom
    stRef:instanceID="xmp.iid:8e62713d-bdc9-4b4f-985f-603abcc9259c"
    stRef:documentID="xmp.did:8e62713d-bdc9-4b4f-985f-603abcc9259c"
    stRef:originalDocumentID="52727C44DE171E89A549E690B2297749"/>
   <lr:hierarchicalSubject>
    <rdf:Bag>
     <rdf:li>_KW ...|Keyword Sets ...|[[[ML-DUAL]]]</rdf:li>
    </rdf:Bag>
   </lr:hierarchicalSubject>
  </rdf:Description>
</rdf:RDF>
</x:xmpmeta>
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                                                                   
                                                       
<?xpacket end="w"?>

Phil Harvey

Great, thanks.  These new tags will be included in Exiftool 9.96 (to be release this weekend).

- Phil

Edit:  Gotta love that name: "LateralChromaticAberrationCorrectionAlreadyApplied".  That's a new low in inefficiency.  With a name this long, ExifTool takes 118 bytes (944 bits) of XMP to store 1 bit of information.  I usually shorten long tag names like this for the ExifTool interface so the output stays in nice columns, but Adobe has worn me down and I think I'll let this one slide through.
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).