Removing Adobe Camera Raw Specific XMP Data

Started by Stephen Marsh, January 23, 2016, 04:44:30 AM

Previous topic - Next topic

Stephen Marsh

Just curious about removing Adobe Camera Raw "development" related XMP info from a rendered file.

I have found the following in the forums:

exiftool -xmp:all=

However that is a little too broad as it appears to remove all XMP metadata, not just the Adobe Camera Raw data.

I was hoping to find an "ACR group" code rather than having to manually list every field, however one did not leap out at me looking at the TagNames reference.

I dumped all of the tags out of a file that had been processed with ACR and the relevant tags appear to be as follows:

Photoshop Camera Raw 9.1.1 (Macintosh), Adobe Photoshop CS6 (Macintosh)
History Changed                 
History Parameters             
Derived From Instance ID       
Derived From Document ID       
Derived From Original Document ID
Format                         
Raw File Name                   
Version                         
Process Version                 
White Balance                   
Auto White Version             
Color Temperature               
Tint                           
Saturation                     
Sharpness                       
Luminance Smoothing             
Color Noise Reduction           
Vignette Amount                 
Shadow Tint                     
Red Hue                         
Red Saturation                 
Green Hue                       
Green Saturation               
Blue Hue                       
Blue Saturation                 
Vibrance                       
Hue Adjustment Red             
Hue Adjustment Orange           
Hue Adjustment Yellow           
Hue Adjustment Green           
Hue Adjustment Aqua             
Hue Adjustment Blue             
Hue Adjustment Purple           
Hue Adjustment Magenta         
Saturation Adjustment Red       
Saturation Adjustment Orange   
Saturation Adjustment Yellow   
Saturation Adjustment Green     
Saturation Adjustment Aqua     
Saturation Adjustment Blue     
Saturation Adjustment Purple   
Saturation Adjustment Magenta   
Luminance Adjustment Red       
Luminance Adjustment Orange     
Luminance Adjustment Yellow     
Luminance Adjustment Green     
Luminance Adjustment Aqua       
Luminance Adjustment Blue       
Luminance Adjustment Purple     
Luminance Adjustment Magenta   
Split Toning Shadow Hue         
Split Toning Shadow Saturation 
Split Toning Highlight Hue     
Split Toning Highlight Saturation
Split Toning Balance           
Parametric Shadows             
Parametric Darks               
Parametric Lights               
Parametric Highlights           
Parametric Shadow Split         
Parametric Midtone Split       
Parametric Highlight Split     
Sharpen Radius                 
Sharpen Detail                 
Sharpen Edge Masking           
Post Crop Vignette Amount       
Grain Amount                   
Color Noise Reduction Detail   
Color Noise Reduction Smoothness
Lens Profile Enable             
Lens Manual Distortion Amount   
Perspective Vertical           
Perspective Horizontal         
Perspective Rotate             
Perspective Scale               
Perspective Aspect             
Perspective Upright             
Auto Lateral CA                 
Exposure 2012                   
Contrast 2012                   
Highlights 2012                 
Shadows 2012                   
Whites 2012                     
Blacks 2012                     
Clarity 2012                   
Defringe Purple Amount         
Defringe Purple Hue Lo         
Defringe Purple Hue Hi         
Defringe Green Amount           
Defringe Green Hue Lo           
Defringe Green Hue Hi           
Dehaze                         
Tone Map Strength               
Convert To Grayscale           
Tone Curve Name                 
Tone Curve                     
Tone Curve Red                 
Tone Curve Green               
Tone Curve Blue                 
Tone Curve Name 2012           
Tone Curve PV2012               
Tone Curve PV2012 Red           
Tone Curve PV2012 Green         
Tone Curve PV2012 Blue         
Camera Profile                 
Camera Profile Digest           
Lens Profile Setup             
Has Settings                   
Has Crop                       
Already Applied

StarGeek

Try this command :
exiftool -XMP:All -a -G1 -s FILE

That will give you the names of some of the actual XMP groups those tags belong to and if you're lucky, some of those groups might be able to be removed outright.   For example, on a random image I grabbed from Flickr, I found some of those History and Derived tags in XMP-xmpMM and many of the color adjustment ones in XMP-crs.  So the command to remove those whole blocks would be Exiftool -XMP-crs:all= -XMP-xmpMM:all= FileOrDir.

If you can't remove whole groups, you might look into creating a shortcut tag in a config file and you could use that to remove a bunch of individual tags.
* 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).

Stephen Marsh

Thank you StarGeek!

Thank you for the quick reply. Yes, that command is certainly more helpful in working out what the actual tags are!

It appears that the major "offending group" is just as you said:

[XMP-crs]

I presume that the crs is for Camera Raw Settings!

So you were bang on the money with:

exiftool -XMP-crs:all=

And I appreciate that there may be some other strays, however CRS was the major one that I was looking to remove.