ps怎么去掉元数据
1、查看元数据
点击菜单 【文件】【文件简介】(快捷键Alt+Shift+Ctrl+I),弹出的窗口选项往后看,有一个原始数据的选项,点击就可以看到元数据


2、储存为web所用格式
【文件】【储存为web所用格式】,元数据一栏默认会选中为【版权和联系信息】,这里我们选择【无】,然后保存即可

3、与原图片对比
这里我们重新打开原始图片和保存后的图片,查看其元数据,可以看到元数据明显减少了。

1、打开记事本,输入以下文字,并存储为.jsx文件
function deleteDocumentAncestorsMetadata() {
whatApp = String(app.name);//String version of the app name
if(whatApp.search("Photoshop") > 0) { //Check for photoshop specifically, or this will cause errors
//Function Scrubs Document Ancestors from Files
if(!documents.length) {
alert("There are no open documents. Please open a file to run this script.")
return;
}
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var xmp = new XMPMeta( activeDocument.xmpMetadata.rawData);
// Begone foul Document Ancestors!
xmp.deleteProperty(XMPConst.NS_PHOTOSHOP, "DocumentAncestors");
app.activeDocument.xmpMetadata.rawData = xmp.serialize();
}
}
//Now run the function to remove the document ancestors
deleteDocumentAncestorsMetadata();

2、用ps打开文件,点击【文件】【脚本】【浏览】,弹出的文件选择框,选择之前保存的jsx文件,点击【载入】即可完成删除多余的元数据
