萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> macOS 教學

Mac 修改截圖預設檔案格式:從 PNG 改為 JPG/GIF 等

macOS 截圖預設為 PNG(無損壓縮、檔案較大)。若習慣 JPG,可用 Terminal 修改:

  1. 開啟 Terminal(Launchpad → 其他 → 終端機);
  2. 輸入指令並按 Enter:
    defaults write com.apple.screencapture type jpg;
  3. 重啟 UI 服務:
    killall SystemUIServer;
  4. 驗證:截圖後查看副檔名是否為 .jpg。
開啟終端機 指令修改為 jpg 重啟 SystemUIServer 驗證截圖格式

其他格式指令:

  • GIF:defaults write com.apple.screencapture type gif
  • PDF:defaults write com.apple.screencapture type pdf
  • TIFF:defaults write com.apple.screencapture type tiff
  • 恢復預設 PNG:defaults delete com.apple.screencapture type 後重啟 UI 服務。
copyright © 萬盛學電腦網 all rights reserved