Overview
Images are usually the heaviest thing on a web page, and oversized photos are the most common reason Largest Contentful Paint (LCP) fails Core Web Vitals. Compressing images before you publish cuts the bytes a browser must download without changing layout, which directly improves LCP and total load time on slow mobile connections. Clear Canvas compresses with an adjustable quality control entirely in your browser, so you can trade size against quality and preview the result before anything ships.
Example workflow
- 1
Find the heaviest images
Start with hero images, above-the-fold banners, and any photo over roughly 200 KB — these move the LCP needle the most.
- 2
Choose the right format
Use JPEG for photographs and WebP when you want files about 25% smaller at the same quality. Keep PNG only where you need lossless edges or transparency.
- 3
Set quality near 80%
JPEG or WebP at about 80% quality gives the best size-to-quality ratio; the difference from the original is barely visible.
- 4
Compress and compare
Compress and compare side by side. Nudge quality up if artifacts appear in gradients or skin tones, down if the file is still too heavy.
- 5
Ship and re-measure
Replace the originals and re-run Lighthouse or PageSpeed Insights to confirm LCP and total page weight dropped.
Best settings
- JPEG or WebP at ~80% quality for photos — the documented best size-to-quality balance.
- Prefer WebP for delivery: it is about 25% smaller than JPEG at the same visual quality.
- Reserve PNG for screenshots, line art, and anything needing transparency; it is lossless and the largest format.
- Resize to the maximum displayed dimensions first, then compress, so you are not compressing wasted resolution.
When this works well
- Blog and marketing pages where large photos dominate page weight.
- Improving Core Web Vitals (LCP) ahead of an SEO or performance audit.
- Trimming images before they enter a CDN so every cached variant is already lean.
When to use another workflow
- If an image is heavy because its pixel dimensions far exceed its display size, resize it first.
- If you only need a different container format with no quality loss, convert rather than compress.
Common mistakes
- Pushing quality below ~60%, which introduces visible blocking in skies, gradients, and skin tones.
- Compressing a 4000 px image that displays at 800 px instead of resizing it down first.
- Leaving photographs as PNG, which keeps files several times larger than a JPEG or WebP equivalent.
Frequently asked questions
How much can compression improve page speed?
Photos are typically the largest assets on a page, so compressing them to ~80% quality — or converting to WebP — often cuts image weight by half or more, which directly lowers Largest Contentful Paint on mobile.
What quality level avoids visible loss?
Around 80% for JPEG or WebP is the sweet spot; the loss is barely perceptible. Drop lower only for non-critical thumbnails.
Is compression here safe for unpublished images?
Yes. Compression runs in your browser with the Canvas API, so nothing is uploaded and embargoed campaign images stay on your machine.
Related tools and workflows
Prueba este caso de uso ahora
Abre Comprimir imagen y aplica este flujo de trabajo en tu navegador.