XMP-crs Metadata Files used by Adobe Presets / Looks / ACR

Started by Boyd, May 31, 2020, 11:03:52 AM

Previous topic - Next topic

Boyd

I have been slowly learning ExifTool to knock my image library into some kind of shape. So far so good and I have even managed to customise a config file and use an argfile to get some things done faster.

I have just turned my attention to some XMP files that I use as presets / looks in Lightroom, ACR (via Bridge and Photoshop) and even Premiere (via Lumetri panel). Some just apply a certain tone curve, some will emulate some older film stock, some will simply later colours using a LUT which gets embedded in the XMP file.

I have around 200, I want to change some of the defaults, things like grain and sharpness, and I think I've worked out how to get ExifTool to update the "Group" tag with the parent folder of the XMP file that I'm modifying.

I can read the tags but can't write them and realise this is because I need to add these to my ExifTool config file.

I'm stuck at this point, these seem to be part of an Adobe standard now (I think crs might mean "camera raw setting") so is there a way I should do this that doesn't involve adding them to the config as if they were simply personal tags that I had dreamt up for my own use. Do I need to do it an Adobe specific way?


<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
   crs:PresetType="Normal"
   crs:Cluster=""
   crs:UUID="C53BCB732E05CB4EBD3F9880F06EBDA8"
   crs:SupportsAmount="False"
   crs:SupportsColor="True"
   crs:SupportsMonochrome="True"
   crs:SupportsHighDynamicRange="True"
   crs:SupportsNormalDynamicRange="True"
   crs:SupportsSceneReferred="True"
   crs:SupportsOutputReferred="True"
   crs:CameraModelRestriction=""
   crs:Copyright=""
   crs:ContactInfo=""
   crs:Version="12.2.1"
   crs:ProcessVersion="6.7"
   crs:Saturation="0"
   crs:Sharpness="25"
   crs:ShadowTint="0"
   crs:RedHue="-15"
   crs:RedSaturation="+20"
   crs:GreenHue="+40"
   crs:GreenSaturation="+35"
   crs:BlueHue="+10"
   crs:BlueSaturation="0"
   crs:Vibrance="-10"
   crs:HueAdjustmentRed="+40"
   crs:HueAdjustmentOrange="+10"
   crs:HueAdjustmentYellow="0"
   crs:HueAdjustmentGreen="+10"
   crs:HueAdjustmentAqua="0"
   crs:HueAdjustmentBlue="-18"
   crs:HueAdjustmentPurple="0"
   crs:HueAdjustmentMagenta="0"
   crs:SaturationAdjustmentRed="+6"
   crs:SaturationAdjustmentOrange="+55"
   crs:SaturationAdjustmentYellow="+16"
   crs:SaturationAdjustmentGreen="-55"
   crs:SaturationAdjustmentAqua="-50"
   crs:SaturationAdjustmentBlue="-15"
   crs:SaturationAdjustmentPurple="-40"
   crs:SaturationAdjustmentMagenta="-20"
   crs:LuminanceAdjustmentRed="-30"
   crs:LuminanceAdjustmentOrange="-15"
   crs:LuminanceAdjustmentYellow="-40"
   crs:LuminanceAdjustmentGreen="-10"
   crs:LuminanceAdjustmentAqua="-20"
   crs:LuminanceAdjustmentBlue="-46"
   crs:LuminanceAdjustmentPurple="-15"
   crs:LuminanceAdjustmentMagenta="-40"
   crs:SplitToningShadowHue="0"
   crs:SplitToningShadowSaturation="0"
   crs:SplitToningHighlightHue="0"
   crs:SplitToningHighlightSaturation="0"
   crs:SplitToningBalance="0"
   crs:ParametricShadows="-76"
   crs:ParametricDarks="+14"
   crs:ParametricLights="+23"
   crs:ParametricHighlights="+5"
   crs:ParametricShadowSplit="20"
   crs:ParametricMidtoneSplit="40"
   crs:ParametricHighlightSplit="75"
   crs:SharpenRadius="+1.0"
   crs:SharpenDetail="25"
   crs:SharpenEdgeMasking="0"
   crs:GrainAmount="25"
   crs:GrainSize="25"
   crs:GrainFrequency="55"
   crs:Highlights2012="-60"
   crs:Shadows2012="+43"
   crs:Whites2012="0"
   crs:Blacks2012="-30"
   crs:Clarity2012="+10"
   crs:ConvertToGrayscale="False"
   crs:ToneCurveName2012="Custom"
   crs:CameraProfile="RNI Films 4.0.3"
   crs:GrainSeed="3548368304"
   crs:HasSettings="True">
   <crs:Name>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">Kodachrome 64</rdf:li>
    </rdf:Alt>
   </crs:Name>
   <crs:ShortName>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:ShortName>
   <crs:SortName>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:SortName>
   <crs:Group>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:Group>
   <crs:Description>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:Description>
   <crs:ToneCurvePV2012>
    <rdf:Seq>
     <rdf:li>0, 16</rdf:li>
     <rdf:li>113, 144</rdf:li>
     <rdf:li>255, 233</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012>
   <crs:ToneCurvePV2012Red>
    <rdf:Seq>
     <rdf:li>13, 0</rdf:li>
     <rdf:li>122, 113</rdf:li>
     <rdf:li>255, 249</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Red>
   <crs:ToneCurvePV2012Green>
    <rdf:Seq>
     <rdf:li>16, 0</rdf:li>
     <rdf:li>122, 115</rdf:li>
     <rdf:li>255, 247</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Green>
   <crs:ToneCurvePV2012Blue>
    <rdf:Seq>
     <rdf:li>15, 0</rdf:li>
     <rdf:li>123, 117</rdf:li>
     <rdf:li>255, 252</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Blue>
   <crs:Look
    crs:Name=""/>
  </rdf:Description>
</rdf:RDF>
</x:xmpmeta>








Boyd

Been looking at the various sample .config files in the full distro and the Pix4d one shows a link (https://support.pix4d.com/hc/en-us/articles/360016450032-Specifications-of-xmpcamera-tags) to the specs, I figure I need a similar reference. The XMP tags I'm talking about do mention a link "http://ns.adobe.com/camera-raw-settings/1.0/" but even though it's http: I can't open it with my web browser, anyone know where I might be going wrong?

StarGeek

Quote from: Boyd on June 02, 2020, 04:52:06 AMThe XMP tags I'm talking about do mention a link "http://ns.adobe.com/camera-raw-settings/1.0/" but even though it's http: I can't open it with my web browser, anyone know where I might be going wrong?

I can't help with the CRS tags, but that "Link" isn't a web URL, it's a URI.  See this explanation from Phil.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

It looks like Adobe has added some new crs tags.  What software wrote the XMP file you posted?  Does this contain all of the crs tags you are wanting to write?  If so, I could add write support to the next release if these are standard Adobe tags.

- 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 ($).

Boyd

Adobe Photoshop Lightroom Classic creates these XMP files when it imports third party presets or updates presets from earlier versions of Lightroom. Also any user settings that are saved in User Presets within Lightroom get saved with the same format and are stored in the Username\AppData\Roaming folder on Windows

Adobe Bridge and Adobe Photoshop save these files when a user saves their settings. (Screenshot Attached) If raw files are thought of as negatives then I would describe these files as instructions for developing those negatives. They could apply to just one negative or to a bunch, they could be copied from one to another. 

They are kept separate from actual image files, they aren't like sidecar files because they do not just relate to one particular file.

I believe this information is embedded in .dng files that are processed with Adobe Camera Raw (ACR is the main engine in Lightroom, the RAW import filter in Photoshop and the RAW adjustment tool for Adobe Bridge)

Third party preset vendors, such as VSCO and RNI Films, use this format for their film emulation presets. Film-makers, like James Miller, sell packs of these, such as DeLuts Universe. Previously RNI and VSCO provided the presets in a different format, Miller's files were simply 32 bit LUTS (look up tables)

It's only in the last two to three years that everything has transformed from the legacy files like the .lrtemplate, and .look files to everything being .xmp. This link has a short explanation from one vendor

Below is the result of saving settings in Adobe Camera Raw with everything left on zero

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
   crs:Version="12.2.1"
   crs:ProcessVersion="11.0"
   crs:WhiteBalance="As Shot"
   crs:IncrementalTemperature="0"
   crs:IncrementalTint="0"
   crs:Saturation="0"
   crs:Sharpness="0"
   crs:LuminanceSmoothing="0"
   crs:ColorNoiseReduction="0"
   crs:VignetteAmount="0"
   crs:ShadowTint="0"
   crs:RedHue="0"
   crs:RedSaturation="0"
   crs:GreenHue="0"
   crs:GreenSaturation="0"
   crs:BlueHue="0"
   crs:BlueSaturation="0"
   crs:Vibrance="0"
   crs:HueAdjustmentRed="0"
   crs:HueAdjustmentOrange="0"
   crs:HueAdjustmentYellow="0"
   crs:HueAdjustmentGreen="0"
   crs:HueAdjustmentAqua="0"
   crs:HueAdjustmentBlue="0"
   crs:HueAdjustmentPurple="0"
   crs:HueAdjustmentMagenta="0"
   crs:SaturationAdjustmentRed="0"
   crs:SaturationAdjustmentOrange="0"
   crs:SaturationAdjustmentYellow="0"
   crs:SaturationAdjustmentGreen="0"
   crs:SaturationAdjustmentAqua="0"
   crs:SaturationAdjustmentBlue="0"
   crs:SaturationAdjustmentPurple="0"
   crs:SaturationAdjustmentMagenta="0"
   crs:LuminanceAdjustmentRed="0"
   crs:LuminanceAdjustmentOrange="0"
   crs:LuminanceAdjustmentYellow="0"
   crs:LuminanceAdjustmentGreen="0"
   crs:LuminanceAdjustmentAqua="0"
   crs:LuminanceAdjustmentBlue="0"
   crs:LuminanceAdjustmentPurple="0"
   crs:LuminanceAdjustmentMagenta="0"
   crs:SplitToningShadowHue="0"
   crs:SplitToningShadowSaturation="0"
   crs:SplitToningHighlightHue="0"
   crs:SplitToningHighlightSaturation="0"
   crs:SplitToningBalance="0"
   crs:ParametricShadows="0"
   crs:ParametricDarks="0"
   crs:ParametricLights="0"
   crs:ParametricHighlights="0"
   crs:ParametricShadowSplit="25"
   crs:ParametricMidtoneSplit="50"
   crs:ParametricHighlightSplit="75"
   crs:SharpenRadius="+1.0"
   crs:SharpenDetail="25"
   crs:SharpenEdgeMasking="0"
   crs:PostCropVignetteAmount="0"
   crs:GrainAmount="0"
   crs:LensProfileEnable="0"
   crs:LensManualDistortionAmount="0"
   crs:PerspectiveVertical="0"
   crs:PerspectiveHorizontal="0"
   crs:PerspectiveRotate="0.0"
   crs:PerspectiveScale="100"
   crs:PerspectiveAspect="0"
   crs:PerspectiveUpright="0"
   crs:PerspectiveX="0.00"
   crs:PerspectiveY="0.00"
   crs:AutoLateralCA="0"
   crs:Exposure2012="0.00"
   crs:Contrast2012="0"
   crs:Highlights2012="0"
   crs:Shadows2012="0"
   crs:Whites2012="0"
   crs:Blacks2012="0"
   crs:Clarity2012="0"
   crs:DefringePurpleAmount="0"
   crs:DefringePurpleHueLo="30"
   crs:DefringePurpleHueHi="70"
   crs:DefringeGreenAmount="0"
   crs:DefringeGreenHueLo="40"
   crs:DefringeGreenHueHi="60"
   crs:Dehaze="0"
   crs:Texture="0"
   crs:ConvertToGrayscale="False"
   crs:OverrideLookVignette="False"
   crs:ToneCurveName2012="Linear"
   crs:CameraProfile="Default Color"
   crs:LensProfileSetup="LensDefaults"
   crs:HasSettings="True"
   crs:HasCrop="False"
   crs:ClipboardOrientation="1"
   crs:ClipboardAspectRatio="1">
   <crs:ToneCurvePV2012>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012>
   <crs:ToneCurvePV2012Red>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Red>
   <crs:ToneCurvePV2012Green>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Green>
   <crs:ToneCurvePV2012Blue>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Blue>
   <crs:Look
    crs:Name=""/>
  </rdf:Description>
</rdf:RDF>
</x:xmpmeta>


I will find out some more information Phil because I think if you are going to add support you will probably want it to be as comprehensive as possible. I want to double check that I've got this right. Especially with regard to this scheme being used within some .dng files now, I will have to test that out to be sure. I will update this post then.

Boyd

Also the range of values isn't totally straightforward for some tags, ones with a sign tend to go from -100 to +100, without a sign they tend to go from 0 to 100 but some, Exposure for example, can only go +/- 5 stops. Hue can move 360 degrees. Sharpness goes from 0 to 150. I will try to discover the possible min and max values if I can

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
   crs:Version="12.2.1"
   crs:ProcessVersion="11.0"
   crs:WhiteBalance="Custom"
   crs:IncrementalTemperature="+25"
   crs:IncrementalTint="-44"
   crs:Saturation="+27"
   crs:Sharpness="150"
   crs:LuminanceSmoothing="100"
   crs:ColorNoiseReduction="100"
   crs:VignetteAmount="0"
   crs:ShadowTint="+100"
   crs:RedHue="+100"
   crs:RedSaturation="+100"
   crs:GreenHue="+100"
   crs:GreenSaturation="+100"
   crs:BlueHue="+100"
   crs:BlueSaturation="+100"
   crs:Vibrance="+93"
   crs:HueAdjustmentRed="+100"
   crs:HueAdjustmentOrange="+100"
   crs:HueAdjustmentYellow="+100"
   crs:HueAdjustmentGreen="+100"
   crs:HueAdjustmentAqua="+100"
   crs:HueAdjustmentBlue="+100"
   crs:HueAdjustmentPurple="+100"
   crs:HueAdjustmentMagenta="+100"
   crs:SaturationAdjustmentRed="+100"
   crs:SaturationAdjustmentOrange="+100"
   crs:SaturationAdjustmentYellow="+100"
   crs:SaturationAdjustmentGreen="+100"
   crs:SaturationAdjustmentAqua="+100"
   crs:SaturationAdjustmentBlue="+100"
   crs:SaturationAdjustmentPurple="+100"
   crs:SaturationAdjustmentMagenta="+100"
   crs:LuminanceAdjustmentRed="+100"
   crs:LuminanceAdjustmentOrange="+100"
   crs:LuminanceAdjustmentYellow="+100"
   crs:LuminanceAdjustmentGreen="+100"
   crs:LuminanceAdjustmentAqua="+100"
   crs:LuminanceAdjustmentBlue="+100"
   crs:LuminanceAdjustmentPurple="+100"
   crs:LuminanceAdjustmentMagenta="+100"
   crs:SplitToningShadowHue="360"
   crs:SplitToningShadowSaturation="100"
   crs:SplitToningHighlightHue="360"
   crs:SplitToningHighlightSaturation="100"
   crs:SplitToningBalance="+100"
   crs:ParametricShadows="0"
   crs:ParametricDarks="-1"
   crs:ParametricLights="-1"
   crs:ParametricHighlights="0"
   crs:ParametricShadowSplit="25"
   crs:ParametricMidtoneSplit="50"
   crs:ParametricHighlightSplit="75"
   crs:SharpenRadius="+3.0"
   crs:SharpenDetail="100"
   crs:SharpenEdgeMasking="100"
   crs:PostCropVignetteAmount="+100"
   crs:PostCropVignetteMidpoint="100"
   crs:PostCropVignetteFeather="100"
   crs:PostCropVignetteRoundness="+100"
   crs:PostCropVignetteStyle="1"
   crs:GrainAmount="100"
   crs:GrainSize="100"
   crs:GrainFrequency="100"
   crs:LuminanceNoiseReductionDetail="100"
   crs:ColorNoiseReductionDetail="100"
   crs:LuminanceNoiseReductionContrast="100"
   crs:ColorNoiseReductionSmoothness="100"
   crs:LensProfileEnable="1"
   crs:LensManualDistortionAmount="+100"
   crs:PerspectiveVertical="0"
   crs:PerspectiveHorizontal="0"
   crs:PerspectiveRotate="0.0"
   crs:PerspectiveScale="100"
   crs:PerspectiveAspect="0"
   crs:PerspectiveUpright="0"
   crs:PerspectiveX="0.00"
   crs:PerspectiveY="0.00"
   crs:AutoLateralCA="1"
   crs:Exposure2012="-0.55"
   crs:Contrast2012="+100"
   crs:Highlights2012="-100"
   crs:Shadows2012="+100"
   crs:Whites2012="+100"
   crs:Blacks2012="+100"
   crs:Clarity2012="+100"
   crs:DefringePurpleAmount="0"
   crs:DefringePurpleHueLo="90"
   crs:DefringePurpleHueHi="100"
   crs:DefringeGreenAmount="0"
   crs:DefringeGreenHueLo="90"
   crs:DefringeGreenHueHi="100"
   crs:Dehaze="+100"
   crs:Texture="+100"
   crs:ConvertToGrayscale="False"
   crs:OverrideLookVignette="False"
   crs:ToneCurveName2012="Custom"
   crs:CameraProfile="Default Color"
   crs:LensProfileSetup="Auto"
   crs:GrainSeed="3269121319"
   crs:HasSettings="True"
   crs:HasCrop="False"
   crs:ClipboardOrientation="1"
   crs:ClipboardAspectRatio="1">
   <crs:ToneCurvePV2012>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>51, 25</rdf:li>
     <rdf:li>204, 227</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012>
   <crs:ToneCurvePV2012Red>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Red>
   <crs:ToneCurvePV2012Green>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Green>
   <crs:ToneCurvePV2012Blue>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Blue>
   <crs:Look
    crs:Name=""/>
  </rdf:Description>
</rdf:RDF>
</x:xmpmeta>

Phil Harvey

Don't worry about the ranges; ExifTool doesn't limit these.

From the last XMP you posted, there were only 3 unknown tags: GrainSeed, ClipboardOrientation and ClipboardAspectRatio.

But from one of the others, there were these tags: PresetType, Cluster, UUID, SupportsAmount, SupportsColor, SupportsMonochrome, SupportsHighDynamicRange, SupportsNormalDynamicRange, SupportsSceneReferred, SupportsOutputReferred, CameraModelRestriction, Copyright, ContactInfo, GrainSeed, Name, ShortName, SortName, Group, Description

I'll add support for all of these new XMP-crs tags in ExifTool 12.00

- 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 ($).

Boyd

Thanks Phil

I've done some testing this morning and I've got a load more info and there's tags I have never seen til today. It seems likely that these tags will turn up in DNG files, JPEG and other files and not just in XMP preset files.

I took a Panasonic raw file that hadn't been altered by software and made some copies / backups.

I converted the Panasonic raw file to DNG from within Lightroom. I made a copy of that DNG and put it out of Lightroom's reach.

I applied a lot of processing in Lightroom, I then updated the metadata to the DNG file

In Lightroom I copied and pasted the exact same processing to the original raw file and told Lightroom to update the metadata for that Panasonic raw file which it did by creating a "sidecar" .xmp file

Would it be okay to email you the files instead of posting their metadata below - it will save me from having to harvest all of the metadata then editing out the personal information, I can see my phone number, post code, email address in first glance at one of them.

At the very bottom of this post is a sample of the xmp data with some personal stuff changed.

Lightroom stores the same information in a Lightroom catalogue, the sidecar files allow other apps, Photoshop, Bridge etc to see the processing details. Some non-Adobe software such as DXO stuff seems to be able to read them too. If the raw files are converted to DNG, the same data is stored internally, not in a sidecar, within DNG and also it would seem within jpegs, tiffs, png and psd files too - only if you have told Lightroom to store or update metadata in those files afaics.

Lightroom dialogue box when you tell it to to update a file's metadata:

Save metadata to file? For proprietary camera raw files, metadata will be saved to sidecar files next to the original photo. For all other file formats supported by Lightroom (JPEG, TIFF, PNG, PSD, and DNG), XMP metadata will be written into the original files.

Be great to see this supported in ExifTool 12. It would actually mean that, with the right command line, an ExifTool user could do some fairly major image processing to a folder full of files - previous edits / processing settings could be overwritten but an app could always fall back to on its own metadata catalogue or to camera defaults. It would be possible to apply presets, company "looks", dust delete data etc etc to files before they are even seen by any image processing software.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
    xmlns:exifEX="http://cipa.jp/exif/1.0/"
    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:dc="http://purl.org/dc/elements/1.1/"
    xmlns:crd="http://ns.adobe.com/camera-raw-defaults/1.0/"
    xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
   xmp:MetadataDate="2020-06-13T11:12:51+01:00"
   xmp:ModifyDate="2015-12-31T22:35:56"
   xmp:CreateDate="2015-12-31T22:35:56.987"
   tiff:Make="Panasonic"
   tiff:Model="DMC-GH4"
   tiff:Orientation="1"
   tiff:ImageWidth="4608"
   tiff:ImageLength="3456"
   exif:ExifVersion="0230"
   exif:ExposureTime="1/50"
   exif:ShutterSpeedValue="5643856/1000000"
   exif:FNumber="18/10"
   exif:ApertureValue="1695994/1000000"
   exif:ExposureProgram="3"
   exif:ExposureBiasValue="0/100"
   exif:MaxApertureValue="434/256"
   exif:MeteringMode="5"
   exif:LightSource="0"
   exif:FocalLength="170/10"
   exif:SensingMethod="2"
   exif:FileSource="3"
   exif:SceneType="1"
   exif:FocalLengthIn35mmFilm="34"
   exif:CustomRendered="0"
   exif:ExposureMode="0"
   exif:WhiteBalance="0"
   exif:SceneCaptureType="0"
   exif:GainControl="1"
   exif:Contrast="2"
   exif:Saturation="1"
   exif:Sharpness="2"
   exif:DigitalZoomRatio="0/10"
   exif:FocalPlaneXResolution="87219778/32768"
   exif:FocalPlaneYResolution="87219778/32768"
   exif:FocalPlaneResolutionUnit="3"
   exif:DateTimeOriginal="2015-12-31T22:35:56.987"
   exif:PixelXDimension="4608"
   exif:PixelYDimension="3456"
   aux:SerialNumber="XEL1507110406"
   aux:Lens="OLYMPUS M.17mm F1.8"
   aux:LensSerialNumber="AC1232389"
   exifEX:LensModel="OLYMPUS M.17mm F1.8"
   photoshop:DateCreated="2015-12-31T22:35:56.987"
   photoshop:Credit="© Chris Surname Was Here"
   photoshop:SidecarForExtension="RW2"
   photoshop:EmbeddedXMPDigest="88FE2390CA828673D52552BF1F20B77E"
   xmpMM:DocumentID="7B533538284654DF9AFAF74C01C484B1"
   xmpMM:PreservedFileName="1451601356.rw2"
   xmpMM:OriginalDocumentID="7B533538284654DF9AFAF74C01C484B1"
   xmpMM:InstanceID="xmp.iid:9197df3c-819a-9c47-be98-4046bd6c22ad"
   dc:format="image/x-panasonic-raw"
   crd:CameraProfile="Camera Standard"
   crd:LookName=""
   xmpRights:Marked="True"
   crs:Version="12.2.1"
   crs:ProcessVersion="11.0"
   crs:WhiteBalance="As Shot"
   crs:Temperature="2800"
   crs:Tint="+7"
   crs:Saturation="+4"
   crs:Sharpness="59"
   crs:LuminanceSmoothing="7"
   crs:ColorNoiseReduction="25"
   crs:VignetteAmount="0"
   crs:ShadowTint="0"
   crs:RedHue="0"
   crs:RedSaturation="0"
   crs:GreenHue="0"
   crs:GreenSaturation="0"
   crs:BlueHue="0"
   crs:BlueSaturation="0"
   crs:Vibrance="+20"
   crs:HueAdjustmentRed="0"
   crs:HueAdjustmentOrange="0"
   crs:HueAdjustmentYellow="0"
   crs:HueAdjustmentGreen="0"
   crs:HueAdjustmentAqua="0"
   crs:HueAdjustmentBlue="0"
   crs:HueAdjustmentPurple="0"
   crs:HueAdjustmentMagenta="0"
   crs:SaturationAdjustmentRed="0"
   crs:SaturationAdjustmentOrange="0"
   crs:SaturationAdjustmentYellow="0"
   crs:SaturationAdjustmentGreen="0"
   crs:SaturationAdjustmentAqua="0"
   crs:SaturationAdjustmentBlue="0"
   crs:SaturationAdjustmentPurple="0"
   crs:SaturationAdjustmentMagenta="0"
   crs:LuminanceAdjustmentRed="0"
   crs:LuminanceAdjustmentOrange="0"
   crs:LuminanceAdjustmentYellow="0"
   crs:LuminanceAdjustmentGreen="0"
   crs:LuminanceAdjustmentAqua="0"
   crs:LuminanceAdjustmentBlue="0"
   crs:LuminanceAdjustmentPurple="0"
   crs:LuminanceAdjustmentMagenta="0"
   crs:SplitToningShadowHue="35"
   crs:SplitToningShadowSaturation="15"
   crs:SplitToningHighlightHue="0"
   crs:SplitToningHighlightSaturation="0"
   crs:SplitToningBalance="0"
   crs:ParametricShadows="0"
   crs:ParametricDarks="0"
   crs:ParametricLights="0"
   crs:ParametricHighlights="0"
   crs:ParametricShadowSplit="25"
   crs:ParametricMidtoneSplit="50"
   crs:ParametricHighlightSplit="75"
   crs:SharpenRadius="+1.0"
   crs:SharpenDetail="25"
   crs:SharpenEdgeMasking="20"
   crs:PostCropVignetteAmount="+17"
   crs:PostCropVignetteMidpoint="55"
   crs:PostCropVignetteFeather="55"
   crs:PostCropVignetteRoundness="-8"
   crs:PostCropVignetteStyle="1"
   crs:GrainAmount="19"
   crs:GrainSize="30"
   crs:GrainFrequency="50"
   crs:LuminanceNoiseReductionDetail="50"
   crs:ColorNoiseReductionDetail="50"
   crs:LuminanceNoiseReductionContrast="0"
   crs:ColorNoiseReductionSmoothness="50"
   crs:LensProfileEnable="1"
   crs:LensManualDistortionAmount="0"
   crs:PerspectiveVertical="+1"
   crs:PerspectiveHorizontal="+6"
   crs:PerspectiveRotate="+0.9"
   crs:PerspectiveScale="103"
   crs:PerspectiveAspect="+10"
   crs:PerspectiveUpright="1"
   crs:PerspectiveX="+7.69"
   crs:PerspectiveY="-5.88"
   crs:AutoLateralCA="1"
   crs:Exposure2012="+0.34"
   crs:Contrast2012="+7"
   crs:Highlights2012="-52"
   crs:Shadows2012="+28"
   crs:Whites2012="+35"
   crs:Blacks2012="-21"
   crs:Clarity2012="0"
   crs:DefringePurpleAmount="0"
   crs:DefringePurpleHueLo="30"
   crs:DefringePurpleHueHi="70"
   crs:DefringeGreenAmount="0"
   crs:DefringeGreenHueLo="40"
   crs:DefringeGreenHueHi="60"
   crs:Dehaze="0"
   crs:Texture="0"
   crs:ToneMapStrength="0"
   crs:ConvertToGrayscale="False"
   crs:OverrideLookVignette="False"
   crs:ToneCurveName="Medium Contrast"
   crs:ToneCurveName2012="Custom"
   crs:CameraProfile="Adobe Standard"
   crs:CameraProfileDigest="68B237C74B84C5CC2E49C66F49E8D11E"
   crs:LensProfileSetup="Custom"
   crs:UprightVersion="151388160"
   crs:UprightCenterMode="0"
   crs:UprightCenterNormX="0.517836"
   crs:UprightCenterNormY="0.509493"
   crs:UprightFocalMode="0"
   crs:UprightFocalLength35mm="33.8578"
   crs:UprightPreview="False"
   crs:UprightTransformCount="6"
   crs:UprightTransform_0="1.000000000,0.000000000,0.000000000,0.000000000,1.000000000,0.000000000,0.000000000,0.000000000,1.000000000"
   crs:UprightTransform_1="1.035880602,-0.045939115,0.001578587,0.020654694,0.984816477,-0.033875978,0.037440221,-0.078297993,1.000000000"
   crs:UprightTransform_2="1.065368507,-0.048751859,0.001647205,0.027122834,0.992765716,-0.033583494,0.067050879,-0.085077456,1.000000000"
   crs:UprightTransform_3="1.008329794,-0.004741072,-0.001794361,0.008428573,1.008329794,-0.008379183,0.000000000,0.000000000,1.000000000"
   crs:UprightTransform_4="0.998396972,-0.045667616,0.001304831,0.005815165,0.965647178,-0.027659661,0.000000618,-0.082017701,1.000000000"
   crs:UprightTransform_5="1.000000000,0.000000000,0.000000000,0.000000000,1.000000000,0.000000000,0.000000000,0.000000000,1.000000000"
   crs:UprightFourSegmentsCount="0"
   crs:HasSettings="True"
   crs:AlreadyApplied="False"
   crs:RawFileName="1451601356.rw2">
   <exif:ISOSpeedRatings>
    <rdf:Seq>
     <rdf:li>200</rdf:li>
    </rdf:Seq>
   </exif:ISOSpeedRatings>
   <exif:Flash
    exif:Fired="False"
    exif:Return="0"
    exif:Mode="2"
    exif:Function="False"
    exif:RedEyeMode="False"/>
   <xmpMM:History>
    <rdf:Seq>
     <rdf:li
      stEvt:action="saved"
      stEvt:instanceID="xmp.iid:9197df3c-819a-9c47-be98-4046bd6c22ad"
      stEvt:when="2020-06-13T11:12:51+01:00"
      stEvt:softwareAgent="Adobe Photoshop Lightroom Classic 9.2.1 (Windows)"
      stEvt:changed="/metadata"/>
    </rdf:Seq>
   </xmpMM:History>
   <dc:creator>
    <rdf:Seq>
     <rdf:li>Chris Surname Was Here</rdf:li>
    </rdf:Seq>
   </dc:creator>
   <dc:rights>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">Chris Surname Was Here</rdf:li>
    </rdf:Alt>
   </dc:rights>
   <xmpRights:UsageTerms>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">All rights reserved no usage without express agreement in advance</rdf:li>
    </rdf:Alt>
   </xmpRights:UsageTerms>
   <crs:ToneCurve>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>32, 22</rdf:li>
     <rdf:li>64, 56</rdf:li>
     <rdf:li>128, 128</rdf:li>
     <rdf:li>192, 196</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurve>
   <crs:ToneCurveRed>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurveRed>
   <crs:ToneCurveGreen>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurveGreen>
   <crs:ToneCurveBlue>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurveBlue>
   <crs:ToneCurvePV2012>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>172, 156</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012>
   <crs:ToneCurvePV2012Red>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Red>
   <crs:ToneCurvePV2012Green>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Green>
   <crs:ToneCurvePV2012Blue>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Blue>
   <crs:Look>
    <rdf:Description
     crs:Name="Vintage 06"
     crs:Amount="1.000000"
     crs:Cluster="Adobe"
     crs:UUID="53EDA964850322DB5C12DBBC27965701"
     crs:SupportsMonochrome="false">
    <crs:Group>
     <rdf:Alt>
      <rdf:li xml:lang="x-default">Vintage</rdf:li>
     </rdf:Alt>
    </crs:Group>
    <crs:Parameters>
     <rdf:Description
      crs:Version="12.2.1"
      crs:ProcessVersion="11.0"
      crs:ConvertToGrayscale="False"
      crs:LookTable="E1095149FDB39D7A057BAB208837E2E1"
      crs:RGBTable="D133EC539BB44CE73B8890C50B8D9F9E"
      crs:RGBTableAmount="0.5">
     <crs:ToneCurvePV2012>
      <rdf:Seq>
       <rdf:li>0, 29</rdf:li>
       <rdf:li>50, 56</rdf:li>
       <rdf:li>123, 136</rdf:li>
       <rdf:li>184, 194</rdf:li>
       <rdf:li>255, 233</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012>
     <crs:ToneCurvePV2012Red>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012Red>
     <crs:ToneCurvePV2012Green>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012Green>
     <crs:ToneCurvePV2012Blue>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012Blue>
     </rdf:Description>
    </crs:Parameters>
    </rdf:Description>
   </crs:Look>
   <Iptc4xmpCore:CreatorContactInfo
    Iptc4xmpCore:CiAdrPcode="DHtakenout"
    Iptc4xmpCore:CiTelWork="07554 TakenOut"
    Iptc4xmpCore:CiAdrRegion="Durham"
    Iptc4xmpCore:CiEmailWork="chrisSurname Was Here@gmail.com"
    Iptc4xmpCore:CiAdrCtry="United Kingdom"
    Iptc4xmpCore:CiAdrExtadr="DHtakenout "
    Iptc4xmpCore:CiUrlWork="www.chrisSurname Was Here.com"/>
  </rdf:Description>
</rdf:RDF>
</x:xmpmeta>

Boyd

Looking at your table I think 99% of them are there, GrainSeed is there, but I didn't see it last time and you also thought it wasn't there; maybe we both overlooked it or you are updating these currently? I notice there's crd and crs tables and it's present in both.

Only thing that stands out is that there's no way to manipulate Look Up Tables (which doesn't worry me) but for completeness you may want to add the tags which all seem to have the word Table in them, see end of post.

This is one of Adobe's own files that is installed with Adobe Camera Raw when you first install a product that uses ACR (Bridge, Photoshop and Lightroom being the main ones) These are sometimes called a Look, sometimes a Profile and sometimes a Preset or Develop Preset depending on software version and target as the same kind of file can be present in different areas of Lightroom where it might be applied in a different way or may be restricted to certain types of images only.

I am sure I have told you stuff you already know. Would rather do that than miss something out.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
   crs:PresetType="Look"
   crs:Cluster="Adobe"
   crs:UUID="B1D5466E60385BC8CE464AB1607A6332"
   crs:SupportsAmount="True"
   crs:SupportsColor="True"
   crs:SupportsMonochrome="False"
   crs:SupportsHighDynamicRange="True"
   crs:SupportsNormalDynamicRange="True"
   crs:SupportsSceneReferred="True"
   crs:SupportsOutputReferred="True"
   crs:CameraModelRestriction=""
   crs:Copyright="© 2018 Adobe Systems, Inc."
   crs:ContactInfo=""
   crs:Version="10.3"
   crs:ProcessVersion="10.0"
   crs:ConvertToGrayscale="False"
   crs:LookTable="E1095149FDB39D7A057BAB208837E2E1"
   crs:Table_E1095149FDB39D7A057BAB208837E2E1="vqf00hWjaE [color=blue]--------  HUGE AMOUNT OF DATA REMOVED FROM THIS SECTION FOR FORUM POST What seems to be an embedded Look Up Table (.cube etc) encoded and wrapped inside Table tags -------[/color]YUawH*/I1]-N!0iXvSmdPYG82v/775[*-:C}FxJYymVk5i@iLC9-Foh?!'Cx7N?Y5!L$BHHl[6M9FyfnbNDH+du]*UZ-[8ejX54LBY+hgD@6-hFm20=Z}!rU4!$u[[2Ld.Uk2JT.?7/-DBs#5ySICm'2Yj#jXb?unM^7'`({azjcTub]#h(3'2XjmksDoD^j5K$Zh[XME])6--Agc7`tivypFk!P2R07R|#|7rr^*NMEJr0N4O@gI?7o.dNFn)j9tRn8UWQ?dNk/)5@y6`z}`$`awfb7!qqN/t}$fWb:[+6tQ9OxoB.y0anX*9[5#eF1A-3cp-lc:F`dqe0r:D/uVp00|Vz'9'l4#]G}M.c-:-89osV:`Je{{}E{NkESAcTA^w+Y4+2{q^=cW1#Q0WHkGbnp5g@kP|ua#FbT`w7y%ZP8aJKkCQNdpO4OLM@jnlbDn6l`1}2x13jB`pWyWGR:.3]BBzNh.3r|yj%N)JZtsEmAy+f|)dYT2T?k2-9)^3[y{(r0E(]{(dzHkfwi2e-=7#e3|1m`4z.wzpP`ngbNr3Lbdt4LAYICcw+Kg^[Jc:/Hl+|3}p4548E1rloWutT1]UfuWLX.53Q%JH=)A1NGrb']ju7Z$6*^miPeM`aPPsr.ZdUWV=#W(K=].[MoZ9AZ=25!Z=9Y$`lHg$L=`+3G|(ja$kp.0a}CoHc%KvNi3@2"
   crs:RGBTableAmount="0.75"
   crs:HasSettings="True">
   <crs:Name>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">Modern 05</rdf:li>
    </rdf:Alt>
   </crs:Name>
   <crs:ShortName>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:ShortName>
   <crs:SortName>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:SortName>
   <crs:Group>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">Modern</rdf:li>
    </rdf:Alt>
   </crs:Group>
   <crs:Description>
    <rdf:Alt>
     <rdf:li xml:lang="x-default"/>
    </rdf:Alt>
   </crs:Description>
  </rdf:Description>
</rdf:RDF>
</x:xmpmeta>


StarGeek Edit: fixed link

Boyd

Version 12 Rocks  :) :) :)

I had a look at the releases on the download page after posting my post above and was excited to see v12 was available, had been available for a few days, so I postponed my bedtime and downloaded it.

It is so satisfying to type a lengthy exiftool command line, hit enter and then see nothing happen, because that usually means I got the syntax right. I could see that it was working as I had a the target folder window open on the desktop and I could see the file list jumping a bit as tmp files rapidly popped in and out of existence like vacuum energy virtual particles. A minute later got the confirmation that it had updated 1519 files.

It has successfully changed all of the tags that I was unable to write with earlier versions, the reason I started this topic, so I am one happy bunny, great job Phil


blue-j

Has anyone used Exiftool to take an image as input and output an XMP file that Camera Raw can use as a preset?  I presume it only wants the xmp-x and xmp-crs tags?  Or does it ignore the others, if you simply output an XMP files from an image?  Is this how...?

exiftool -xmp -b input.ext > output.xmp

or if you wanted only the xmp-x and xmp-crs...?

exiftool -xmp:crs:all -xmp:x:all -b input.ext > output.xmp

blue-j

I'll reply to myself here and note for any readers that not only did my code snippet not work, but xmp-crs data exceeds those needed for a preset.  I'm still working on this and will share when I have joy.