Mac 截圖預設儲存為 PNG(高品質無損),檔案較大;部分網站/表單僅接受 JPG。無需安裝第三方轉檔軟體,內建「預覽」App 即可單張或批次轉換格式。





# 單檔
sips -s format jpeg -s formatOptions 85 screenshot.png --out screenshot.jpg
# 資料夾內所有 PNG 批次轉 JPG (品質 85%)
for f in *.png; do sips -s format jpeg -s formatOptions 85 "$f" --out "${f%.*}.jpg"; done
# 設為 JPG
defaults write com.apple.screencapture type jpg; killall SystemUIServer
# 設為 PNG (預設)
defaults write com.apple.screencapture type png; killall SystemUIServer
# 設為 HEIC (高效率,macOS 10.13+)
defaults write com.apple.screencapture type heic; killall SystemUIServer
| 格式 | 優點 | 缺點 | 適用場景 |
|---|---|---|---|
| PNG | 無損、支援透明背景 | 檔案大 | 截圖、UI 設計、需透明底 |
| JPG | 壓縮率高、相容性最佳 | 有損壓縮、不支援透明 | 上傳表單、網頁分享、列印 |
| HEIC | 同畫質檔案更小 | 舊裝置/Windows 不支援 | 自用備份、iCloud 相簿 |