Clear CRS Metadata
It appears that Bridge’s edit menu > Develop Settings > Clear do not remove Camera Raw Settings metadata that is baked into a JPEG file.
One can remove all XMP metadata, however that is a little extreme, it should be possible to target only the CRS metadata and clear it, leaving all other metadata intact (this is possible using ExifTool)…
I had a go at hacking an existing script, however it does not work. I’m sure that I’m missing something simple! Can anybody please help?
// https://forums.adobe.com/thread/290238
#target bridge // let EntendScript know what app the script is for
clearCRS.execute = function(){// create a method for that object
var sels = app.document.selections;// store the array of selected files
for (var i = 0; i < sels.length; i++){//loop though that array
var md = sels.synchronousMetadata;// get the metadata for the file
md.namespace = "http://ns.adobe.com/camera-raw-settings/1.0/";// set the namespace
md.crs = " ";//set the porperty
}
}
// this script only works in bridge
if (BridgeTalk.appName == "bridge"){
//creage the munuItem
var menu = MenuElement.create( "command", "Clear CRS in metadata", "at the end of Tools");
menu.onSelect = clearCRS.execute;
}

