Large images are one of the most common reasons a page feels slow. Good compression reduces file size while keeping the visual result close to the original.
Start with the right format
Use WebP or AVIF when your workflow supports them, and keep PNG for images that genuinely need lossless transparency. JPEG remains useful for photography when compatibility matters.
Compress with a target
Do not chase the smallest possible file. Aim for a balance between sharpness, dimensions and real page needs. Resize oversized images before compressing them.
Check the result
Compare the optimized file at the size it will actually be displayed. A practical workflow is resize, compress, preview and then export.