Pixels and quality solve different problems

Reducing dimensions removes pixels. Lowering lossy quality changes how compactly the remaining picture is represented. A 4000-pixel photograph used as a small attachment often has room to shrink. A screenshot with tiny text may need its dimensions preserved even when the file is inconveniently large.

Choose a format for the picture

JPEG is useful for photographs and does not preserve transparency. Smallerly fills transparent areas with white when exporting JPEG. WebP can retain transparency while providing a lossy quality setting. PNG uses lossless encoding but can be much larger for photos. A format switch is a tradeoff, not a guarantee.

The percentage is not a size promise

The quality control is passed to the browser’s image encoder. Different browsers and pictures can produce different sizes at the same setting. The result shows the actual number of bytes. If the new file is larger than the source, keeping the original may be the better choice.

Check what matters before attaching

Look at text, faces, fine lines, and transparent edges at a useful viewing size. Browser re-encoding may alter metadata, color profiles, and detail; this is not an archival or color-managed workflow. Return to the original for each new attempt. HEIC, RAW, SVG, and animated files need a different tool.

Read a little further

MDN: browser image encoding ↗

Ready to give it a try?

Your original stays untouched. Your file stays on your device.

Compress image