資料夾
選取包含圖片的資料夾以進行整批轉檔。
- 資料夾
- —
- 檔案
- 0
Which files
File types in this folder
- 目前沒有內容可以顯示。
目標格式
JPEG cannot store transparency. Transparent pixels are filled with white before encoding — without that they come out black.
Converting re-encodes the pixels, so EXIF, GPS and camera notes in the original do not carry into the converted file. JPEG and PNG output is additionally passed through the same stripper /remove-exif uses; the colour profile is kept so the picture still looks right.
瀏覽器支援度
要原地重新命名和刪除檔案,需要 File System Access API,目前只有 Chromium 系列瀏覽器支援。不管支不支援,下面的操作都在你自己的電腦上完成——絕不會上傳任何東西。
| 功能 | Chrome | Edge | Firefox | Safari |
|---|---|---|---|---|
| 從硬碟開啟資料夾window.showDirectoryPicker——Chrome/Edge 86 以上,僅限桌面版 | ✓支援 | ✓支援 | ✗不支援 | ✗不支援 |
| 原地重新命名檔案FileSystemFileHandle.move——Chrome/Edge 111 以上 | ✓支援 | ✓支援 | ✗不支援 | ✗不支援 |
| 原地刪除檔案FileSystemDirectoryHandle.removeEntry | ✓支援 | ✓支援 | ✗不支援 | ✗不支援 |
| 記住資料夾供下次使用控制代碼會存在這台裝置的 IndexedDB 裡;權限每次還是要重新授權 | ✓支援 | ✓支援 | ✗不支援 | ✗不支援 |
在這個瀏覽器偵測到
- window.showDirectoryPicker …
- FileSystemFileHandle.move …
- indexedDB …
在 Firefox、Safari,或任何手機、平板上,這個頁面能說明怎麼做,但沒辦法實際執行。請用桌面版 Chrome 或 Edge 開啟。