Apa yang dilakukan Image Compressor?
Image Compressor membantu mengonversi data atau berkas langsung di browser serta menjelaskan hasil dan batasannya dengan jelas. Kemampuan yang telah diverifikasi: JPEG, PNG, and WebP input, Quality control, Maximum width 12,000 pixels, Metadata removal.
Choose format by image content
Use JPEG for opaque photographs, PNG for lossless graphics or transparency, and WebP for modern web delivery after checking target-browser support.
Bagaimana cara menggunakannya?
- Choose one JPEG, PNG, or WebP file smaller than 30 MB.
- Select output format, quality, and a maximum width up to 12,000 pixels.
- Compress the image, compare exact file sizes, and download the result.
Contoh masukan dan keluaran nyata
Re-encode a photograph as WebP
Masukan
photo.jpg, quality 80%, maximum width 1600 pxKeluaran
photo-output.webp with measured byte sizeThe browser scales the pixels when necessary and encodes a new WebP file without the source EXIF metadata.
Kesalahan umum dan perbaikannya
| Gejala | Kemungkinan penyebab | Perbaikan |
|---|---|---|
| The file cannot be decoded. | It is damaged, mislabeled, or unsupported by the browser. | Open and export a valid JPEG, PNG, or WebP copy first. |
| The output is larger. | The selected format or quality is less efficient for this image. | Compare WebP or JPEG and reduce quality or dimensions when transparency is not required. |
File size depends on pixels and format
Batas khusus alat ini: A smaller dimension or lossy format can reduce size, but PNG or a high quality setting can create a larger file. Very large pixel dimensions can exceed device memory.
Standar dan referensi implementasi
- MDN — Web image formats (opens in a new tab)Compares compression and transparency support.
- MDN — HTMLCanvasElement.toBlob() (opens in a new tab)Documents the browser export API.
Image Compressor — FAQ
Are images uploaded?
No. Decoding, canvas rendering, and file creation happen in the current browser tab.
Does compression remove EXIF?
Yes. Canvas re-encoding removes source EXIF and most other metadata.
Why can output be larger?
PNG or a high quality setting can exceed an already optimized source.
Apa yang berubah?
Pembaruan substantif: Image Compressor: Added local JPEG, PNG, and WebP re-encoding, quality and width controls, metadata removal, exact size comparison, and download.