该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
今天早上我也突然发现这个问题。经过我反复验证。解决了这个问题。
我说现我的问题,如果你们的情况和我一样,就能解决。
你们看下链接图,是不是不合理的大,而且在ps里修改时很卡。这是因为链接图的元数据过大导致的。方法就是去掉元数据。把下面的代码,保存到TXT文本里,保存后,把文件后缀修改成.jsx
然后,在PS里打开图片,文件,脚本,浏览,找到刚才你保存的脚本。略微等待一下(文件冗余的元数据越大,等待时间越长)。然后保存。
变大的id文件。换了删除元数据的图片以后,另存一下应该就能解决这个了。
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();