當(dāng)前位置:首頁 >影樓數(shù)碼 >數(shù)碼后期 >保存技巧,解決PSD文件導(dǎo)出過大的問題

數(shù)碼后期 保存技巧,解決PSD文件導(dǎo)出過大的問題

文章來源:其他網(wǎng)絡(luò)   我要投稿  
數(shù)碼后期

使用Photoshop設(shè)計圖片時,會因為使用圖片、引用智能對象、圖層問題造成儲存的PSD文件過大,解決辦法我也找了一段時間,在百度偶然看見解決辦法,親測有效,附件中是我存好的JSX文件,可以下載使用,第一次嘗試解決,務(wù)必做好備份

使用方法:將下面這段代碼復(fù)制粘貼到文本工具當(dāng)中,另存為 Jsx 格式文件。再 PS 打開有問題的文檔,「 文件」——「 腳本」——「 瀏覽...」選擇保存的 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 s cript.")
return;
}
if (ExternalObject.AdobeXMPs cript == undefined) ExternalObject.AdobeXMPs cript = new ExternalObject("lib:AdobeXMPs cript");
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();

如果復(fù)制以上文件無效,可以下載我存好的JSX文件 或者去原百度貼吧地址復(fù)制

原始地址: http://tieba.baidu.com/p/2305716725#107044658512l?qq-pf-to=pcqq.c2c

保存技巧,解決PSD文件導(dǎo)出過大的問題_www.16xx8.com
www.16xx8.com

感謝百度上面的dowson2002 大神

更多影樓遠(yuǎn)程數(shù)碼后期修片教程盡在全影網(wǎng)。

官方微博:@全影網(wǎng) https://weibo.com/7192com

官方微信:想在手機上獲取最新鮮資訊嗎?添加全影網(wǎng)官方微信:www7192com

免責(zé)聲明:

本站部分內(nèi)容、觀點、圖片、文字、視頻來自網(wǎng)絡(luò),僅供大家學(xué)習(xí)和交流,真實性、完整性、及時性本站不作任何保證或承諾。如果本站有涉及侵犯您的版權(quán)、著作權(quán)、肖像權(quán)的內(nèi)容,請聯(lián)系我們(0536-8337192),我們會立即審核并處理。

我要評論

當(dāng)前已有loading...個參與
驗證碼: 驗證碼,看不清楚?請點擊刷新驗證碼

名企招聘

人才求職

婚紗攝影

人才網(wǎng)X 關(guān)閉

掃描訪問手機版