Image Compressor
Compress one image locally, compare the actual encoded size, and download only after seeing whether the result is truly smaller.
Category: compression · Priority: P1
JPG, PNG, or static WebP · one file · up to 25 MiB and 40 megapixels · processed locally
How to compress an image
- Choose one validated JPG, PNG, or static WebP.
- Keep the source format or explicitly choose another output, then set quality where supported.
- Compress locally and compare the real Blob size before downloading.
Honest JPG, PNG, and WebP behavior
JPG and WebP expose lossy quality control. PNG uses lossless browser re-encoding without a fake quality slider. A different output format is always shown as conversion.
No guaranteed savings
Already optimized or tiny files can stay the same size or become larger. PicRecast reports zero saved bytes in that case and never presents negative savings as success.
Dimensions stay; metadata may not
The engine preserves visual width and height and normalizes JPEG orientation into pixels. Browser re-encoding may omit EXIF, ICC, camera, and other metadata.
Local browser processing
Validation, decoding, encoding, verification, preview, and download happen in your browser. PicRecast does not upload the image or call a third-party compression service.
Image compressor FAQ
Is my image uploaded?
No. This single-image workflow runs locally in a Worker when available, with a local main-thread fallback.
Will every PNG get smaller?
No. PNG output is losslessly re-encoded, and an already optimized PNG may stay the same size or grow.
Is quality 100 lossless?
No. For JPG and WebP it is still a browser re-encode and is not promised to preserve every original compressed detail or metadata.
Can I choose another output format?
Yes, explicitly. The result identifies both formats and warns that the operation includes conversion.
Is metadata preserved?
Not completely. Visual orientation is normalized, but EXIF, ICC, camera, and other metadata may be removed.
What if the result is larger?
PicRecast reports no size improvement and suggests another quality or format. It never calls a larger result successful compression.
Related tools
Need exact dimensions or a format-only workflow?