Recent Posts

Pages: [1] 2 3 ... 10
1
Metadata / XMP-crs Metadata Files used by Adobe Presets / Looks / ACR
« Last post by Boyd on Today at 11:03:52 AM »
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?

Code: [Select]
<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>






2
Newbies / Re: Copying tags from original image to edited one.
« Last post by Dave Pitman on Today at 10:01:01 AM »
Perfect.  Thanks again for the help, much appreciated!
3
Newbies / Re: Copying a Live Photo still, and its accompanying mov
« Last post by Rowan1002 on Today at 07:29:09 AM »
Hi,

Argh - I'm stuck again!

So Step 5 actually messes up what step 1 and 2 did.

Step 1 and Step 2 made all the HEIC (or JPG) and MOV files from a Live Photo get the same create data as eachother, and the file name of both became the same, which is the create date. Which was exactly as I wanted.

However, Step 5 messes it up and then they separate out again...and the HEIC and MOV are named based on their timezone again!

But I do need Step 5 because after the previous Step 1 and Step 2 sort the HEIC and Mov files out, Step 3 and 4 sort out the PGN and JPG files which are not related to Live Photos.

After Step 3 and Step 4, they then need renaming to their new CreateDate's....

Thanks, R
4
Newbies / Re: Copying tags from original image to edited one.
« Last post by Phil Harvey on Today at 05:59:09 AM »
Add -overwrite_original to the command.

- Phil
5
Newbies / Re: Copying tags from original image to edited one.
« Last post by Dave Pitman on May 30, 2020, 10:50:15 PM »

No, it's just telling you the name of the filepath it is looking for. 

What is the output of
dir original/

Gotcha.  And you were correct.  I was specifying "original" and the directory is "originals". My bad, rookie mistake.  The script works, thanks to you both.  However, in addition to cloning the exif data, it is also adding a new file in the edited directory that is a duplicate of the file that was replaced except it does not have the .jpg extension and is named "DJI_0027.JPG_original" .   If I manually add the .jpg extension, it opens fine as a jpg.  Is there a way to not get the duplicate file?
6
Newbies / Re: Copying tags from original image to edited one.
« Last post by StarGeek on May 30, 2020, 10:35:07 PM »
Basically same error.  I know it finds the "original" directory in each case because it names the image, correct?

No, it's just telling you the name of the filepath it is looking for. 

What is the output of
dir original/
7
Newbies / Re: Copying tags from original image to edited one.
« Last post by Dave Pitman on May 30, 2020, 10:04:32 PM »
Unfortunately, no change.  Not sure if it makes a difference, but I am opening the cmd prompt as admin.  Thanks for trying.

C:\Users>cd pitman\desktop\exiftest

C:\Users\Pitman\Desktop\exiftest>exiftool -TagsFromFile original/%F -exif:all edited/
Warning: Error opening file - original/DJI_0027.JPG
    1 directories scanned
    0 image files updated
    1 image files unchanged

C:\Users\Pitman\Desktop\exiftest>



8
Metadata / Re: Post your LensType / LensID discoveries here
« Last post by Phil Harvey on May 30, 2020, 08:03:13 PM »
Thanks!
9
Newbies / Re: Copying tags from original image to edited one.
« Last post by Phil Harvey on May 30, 2020, 08:00:42 PM »
What is the "\" doing before the -tagsFromFile filename?

Try this:

C:\Users\Pitman\Desktop\exiftest>exiftool -TagsFromFile C:\Users\Pitman\Desktop\exiftest\original/%F -exif:all edited/

or better yet (since you are already in the C:\Users\Pitman\Desktop\exiftest directory:

C:\Users\Pitman\Desktop\exiftest>exiftool -TagsFromFile original/%F -exif:all edited/

- Phil
10
Metadata / Re: Post your LensType / LensID discoveries here
« Last post by mathieucarbou on May 30, 2020, 07:47:05 PM »
Hi,
This Lens ID is missing in version 11.85

Sigma 135mm f/1.8 DG HSM Art Lens for Nikon F
MFR #240955

Partial output from exiftool -LensID  **/* | less :

======== SIGMA 135mm f1.8/SIGMA 135mm f1.8 590nm f11.NEF
Lens ID                         : Unknown (C4 4C 73 73 14 14 4B 46)
Pages: [1] 2 3 ... 10