Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Per Layer Metadata: How do I delete an XMP Object from a layer?

$
0
0

The only way I have found so far is to "reset" the XMP object by assigning an empty one :

 

var emptyXMP = new XMPMeta();

app.activeDocument.activeLayer.xmpMetadata.rawData = emptyXMP.serialize();


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>