ps的操作中有一些快取的資料被儲存在了PSD文件中,導致dps檔案很佔用空間,首先我們來看一下這些影響ps檔案大小的資訊隱藏在什麼位置,ps中執行{檔案}-{檔案簡介}-{原始資料}命令,如圖,裡面有非常多的指令碼資訊,同樣我們也是利用指令碼檔案來解決這一問題,廢話不多說,下面我們就來看看詳細的教程。
1、將下面的程式碼,複製貼上到文字文件中,儲存為檔案(就是把副檔名為結尾的文件,改成 文件)
function deleteDocumentAncestorsMetadata() {whatApp = String();//String version of the app nameif(ch("Photoshop") > 0) { //Check for photoshop specifically, or this will cause errors//Function Scrubs Document Ancestors from Filesif(!th) {alert("There are no open documents. Please open a file to run this script.")return;}if (eXMPScript == undefined) eXMPScript = new ExternalObject("lib:AdobeXMPScript");var xmp = new XMPMeta( ata);// Begone foul Document Ancestors!teProperty(_PHOTOSHOP, "DocumentAncestors");ata = alize();}}//Now run the function to remove the document ancestorsdeleteDocumentAncestorsMetadata();
2、開啟有問題的psd文件,執行{檔案}-{指令碼}-{瀏覽}命令,找到剛剛建好的jsx文件開啟,稍等幾秒即可完成處理。
3、ps文件直接儲存即可,以後再操作起來,你會發現ps不止快了一點點哦。
以上即是解決psd檔案佔用記憶體過大導致ps執行速度很慢的解決辦法,希望大家喜歡,請繼續關注百科書網。