網站首頁 教育 學前教育 精緻生活 飲食養生 命理 科普教育 金融 歷史 影視 數碼 熱門資訊
當前位置:生活百科站 > 數碼 > 

ps檔案佔用幾個G空間執行很卡怎麼辦

欄目: 數碼 / 釋出於: / 人氣:2.89W

ps的操作中有一些快取的資料被儲存在了PSD文件中,導致dps檔案很佔用空間,首先我們來看一下這些影響ps檔案大小的資訊隱藏在什麼位置,ps中執行{檔案}-{檔案簡介}-{原始資料}命令,如圖,裡面有非常多的指令碼資訊,同樣我們也是利用指令碼檔案來解決這一問題,廢話不多說,下面我們就來看看詳細的教程。

ps檔案佔用幾個G空間執行很卡怎麼辦

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

ps檔案佔用幾個G空間執行很卡怎麼辦 第2張

2、開啟有問題的psd文件,執行{檔案}-{指令碼}-{瀏覽}命令,找到剛剛建好的jsx文件開啟,稍等幾秒即可完成處理。

ps檔案佔用幾個G空間執行很卡怎麼辦 第3張

3、ps文件直接儲存即可,以後再操作起來,你會發現ps不止快了一點點哦。

ps檔案佔用幾個G空間執行很卡怎麼辦 第4張

以上即是解決psd檔案佔用記憶體過大導致ps執行速度很慢的解決辦法,希望大家喜歡,請繼續關注百科書網。