电脑
PS软件
你可以在「 文件」——「 文件简介」——「原始数据 」当中,查看该文档是否有过多没必要的信息。图中展现的原始数据当中,有上千条
将下面这段代码复制粘贴到文本文档中,另存为 Jsx 格式文件。function deleteDocumentAncestorsMetadata() {whatApp = String(app.name);//String version of the app nameif(whatApp.search('Photoshop') > 0) { //Check for photoshop specifically, or this will cause errors//Function Scrubs Document Ancestors from Filesif(!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 ancestorsdeleteDocumentAncestorsMetadata();
用PS打开文件比较大的PSD文档,「 文件」——「 脚本」——「 浏览...」选择刚刚保存的 Jsx 格式文件即可解决。