Skip to content
cosmodev ~/tools/image-compressor

Compresor de imagini

Images & Media

Reduceți dimensiunea fișierelor imagine integral în browser — calitate fixă sau încadrare automată într-un buget de dimensiune, redimensionare opțională la o dimensiune maximă, suport pentru loturi. Nimic nu se încarcă.

Alege o imagine pentru a vedea dimensiunea comprimată.

(Documentație în engleză)

Image Compressor

What it does

Re-encodes images locally to shrink their file size, two ways: a fixed quality slider, or a size budget — give it a KB target per image and it binary-searches the quality until the output fits. An optional max-dimension resize handles oversized photos in the same pass. JPEG and WebP sources keep their format; PNG sources re-encode as WebP (the lossy pipeline that makes compression possible). Batch supported, with a total-saved summary.

Your images never leave the page — that is the difference from online compressors, which upload every file you give them.

How to use

  1. Drop one or more images.
  2. Choose the mode: fixed quality, or a target size in KB.
  3. Optionally cap the longest dimension (0 keeps the original size).
  4. Press Compress, review the per-image savings, and save.

Examples

A 4.1 MB phone photo compressed at quality 75 typically lands near 600–900 KB (−80% or so); the summary line reports the exact total.

Target mode on the same photo with a 200 KB budget finds the highest quality that fits — usually around q55–q65 — and reports the quality it chose.

Good to know

  • Already-optimized files (small WebPs) may grow slightly; the delta turns red to tell you before you save.
  • PNG sources become WebP because PNG’s lossless pipeline cannot hit aggressive size targets.
  • The max-dimension resize is part of the same re-encode — no double compression pass.
Cod sursă14 limbi

100% pe partea clientului · datele tale nu părăsesc niciodată browserul. Ți s-a părut util? Partajează-l cu un coleg.