繁體中文

Image Converter & WebAssembly Compressor

Batch-convert and compress JPEG, PNG, WebP, AVIF, SVG, TIFF and camera RAW files with pinned local codecs, workers and measured results.

選擇格式,以及「品質」實際上要付出什麼代價

Four raster formats cover most web delivery, while sanitized SVG output preserves safe vector source. Picking the right output matters more for file size than any slider.

JPEG is built for photographs. It throws away detail your eye is unlikely to miss, which is why a photo saved as JPEG is a fraction of the size of the same photo as PNG. It cannot store transparency, and it is lossy at every quality setting - there is no such thing as a lossless JPEG here.

PNG 專為平面圖形而設計:螢幕截圖、標誌、圖表、任何具有銳利邊緣或大面積單一顏色的內容。它的編碼器是無損的,因此它準確地儲存給定的像素,並支援透明度。將照片儲存為 PNG ,您通常會得到比 JPEG 大幾倍的檔案,但沒有明顯的增益。

WebP usually beats JPEG for a similar visual quality and can preserve transparency. AVIF can be smaller again, but its local encoder takes longer. Both outputs are lossy in this studio.

The quality slider applies to JPEG, WebP and AVIF. Around 80 is a useful starting point for photographs, but the honest way to choose is to inspect the measured output, SSIM and PSNR values, then adjust.

  1. Add as many as 50 files, up to 100 MB each. Everything is read locally; nothing is uploaded.
  2. Pick PNG, JPEG, WebP, AVIF or safe SVG output. The panel tells you whether that operation is lossy and why.
  3. Resize by percentage, exact pixels or a social preset, with the aspect ratio locked unless you deliberately unlock it.
  4. Keep Privacy Clean enabled to emit a fresh encoded file without source metadata.
  5. Inspect real before and after bytes, pixel metrics and the comparison view, then download one result or stream the batch as a ZIP where File System Access is available.

為什麼重複編輯會降低影像品質,以及如何避免它

每次有損影像被解碼並再次儲存時,編碼器會在已經烘焙到像素中的近似值之上產生一組新的近似值。這就是所謂的世代損失,而且它會加劇。打開 JPEG,保存它,打開它,再次保存它,然後重複:經過足夠多的輪次後,結果明顯斑駁,尤其是在文字和銳邊周圍。

這很重要,因為它很容易意外發生。在一個應用程式中裁剪照片,在另一個應用程式中調整其大小,然後從第三個應用程式匯出它,可以將三輪 JPEG 編碼放入一個只需要一輪的檔案中。

避免這種情況的方法是保留原始內容並始終從中重新編輯,而不是從上次匯出的內容中重新編輯。如果需要中間工作檔案,請使用PNG,因為它的編碼器是無損的,不會增加另一輪損失。然後在最後從原始檔案中進行一次有損匯出。

將 JPEG 轉換為 PNG 不會撤銷任何操作。 JPEG 丟棄的細節消失了,而 PNG 將忠實地將降級的像素保留在更大的檔案中。 PNG 是您仍在編輯的內容的工作副本的正確選擇,而不是已壓縮內容的修復工具。

調整大小也值得理解。縮小影像會對其進行重新取樣,即使輸出格式無損,也會改變像素值,並無法透過再次放大來恢復丟棄的細節。超出原始尺寸的放大永遠不會增加真正的細節;它只是插入已經存在的內容。

常見問題

我的圖片是否上傳到伺服器?
No. Pinned codecs, the RAW decoder, resizer and batch workers run on this device. File bytes, names and conversion settings are not sent to analytics or an image service.
這裡的任何轉換都是無損的嗎?
PNG encoding is lossless, provided you do not also resize. Safe SVG cleanup keeps vector geometry but removes active and external content. JPEG, WebP and AVIF outputs are lossy, and any resize resamples pixels regardless of output format.
為什麼我的檔案變大而不是變小?
通常是因為您將照片轉換為 PNG,它精確地儲存每個像素,並無法與 JPEG 或 WebP 在照片內容上競爭。如果您將品質提高到高於原始編碼的水平,也可能會發生這種情況。無論哪種方式,該工具都會報告實際測量的尺寸,而不是隱藏增長。
我應該使用什麼品質設定?
For photographs, around 80 is a useful starting point. Compare measured bytes and perceptual metrics at a couple of settings rather than trusting one rule, because the right answer depends on the image and output codec.
當我匯出到 JPEG 時,透明度會發生什麼變化?
JPEG 無法儲存 Alpha 通道,因此透明區域將填入您在編碼前選擇的背景顏色。預設為白色。如果需要透明度,請使用 PNG 或 WebP。
我可以轉換 GIF 動畫嗎?
GIF 被接受作為輸入,但僅使用其第一幀並不保留動畫。不提供 GIF 作為輸出格式,因為產生帶有 .gif 擴展名的靜態圖片會產生誤導。
我一次可以轉換多少張影像?
A queue is limited to 50 items and each file is limited to 100 MB. Processing is local, so high-resolution RAW batches on a phone can still be slow. The tool applies a device-aware pixel budget before allocating an unsafe canvas.
這會刪除 EXIF 元資料嗎?
Yes when Privacy Clean is enabled. Raster exports are freshly encoded from decoded pixels, and sanitized SVG exports remove editor metadata, scripts, event handlers and unsafe external references.
Which RAW files can I open?
The local LibRaw worker accepts DNG, CR2, CR3, NEF, ARW and RW2 inputs, plus TIFF. Camera variants outside those families can still be unsupported, and very large RAW files are subject to the same 100 MB and device-memory limits.

該工具不會做什麼