完美解决Photoshop导出的 jpg 图片很大的问题
1、这代码复制到文本里,后缀名为.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();
2、到PS里打开那个大文件
3、文件菜单,脚本,浏览,选择这个.jsx文件
4、最后保存一下试试 是不是解决问题了