世界杯買球最高賺了多少 是一款可以快速清除圖片文件XMP數(shù)據(jù)元的小工具軟件,用戶安裝這個(gè)補(bǔ)丁后就可以快速的清空當(dāng)前圖片文檔的元數(shù)據(jù),從而減少圖片文件的體積大小。歡迎有需要的朋友前來(lái)西西下載體驗(yàn)這款軟件!
相信各位設(shè)計(jì)新人朋友甚至老設(shè)計(jì)都經(jīng)常有這樣的情況
圖片一張張文件
最后保存JPG幾十兆幾百兆???
這是因?yàn)閳D片放進(jìn)去連帶元數(shù)據(jù)一起進(jìn)去了,
但是清除這部分元數(shù)據(jù)又比較麻煩,
百度方法小白是看不懂的,
所以我這邊一直在用的一個(gè)(某樂聲)補(bǔ)丁分享給各位!
1、下載壓縮包,解壓。
2、打開PS,選擇文件→腳本→清除當(dāng)前文檔XMP數(shù)據(jù)
3、清除完成
創(chuàng)建一個(gè)記事本以下內(nèi)容進(jìn)去,另存為JSX格式放到X:\ProgramFiles\Adobe\PhotoshopCC\Ps\Scripts目錄下
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();
alert(清除完成);