PS大文件无压缩保存

2021-05-08 0 929

操作步骤:

1.

PS大文件无压缩保存

这是文件的尺寸,不大也不小

2.

PS大文件无压缩保存
www.16xx8.com

导出jpg可以看到,目前一张jpg差不多42 M

3.

PS大文件无压缩保存

然后导入制作好的文件,通过脚本导入。导入后ps会卡顿一小会,等正常后文件就恢复正常了。(因为内容问题,所以我把内容覆盖掉了)

4.

PS大文件无压缩保存

最后重新导出,可以看到文件已经是370 K 了。

5.文件制作:

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();

 

用记事本粘贴以上代码后另存,后缀改为JSX,即(名字.jsx)后打开问题文件,文件-脚本-浏览-载入JSX格式文件即可。

如有疑问请联系QQ:2692014208

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

捷丰下载 技术教程 PS大文件无压缩保存 https://www.nwgamer.com/148.html

常见问题

相关文章

官方客服团队

为您解决烦忧 - 24小时在线 专业服务