Compress an image
Shrink an image file while keeping the same format and the same dimensions.
Compression works by throwing away detail your eye is unlikely to notice — fine gradients in a sky, texture in shadow. How much it throws away is the quality setting. Eighty is a good default: usually less than half the original size, with nothing visibly wrong.
This tool also strips the hidden data cameras attach, which on a phone photograph can be a surprising fraction of the file all by itself.
The work is done by libvips, a serious image-processing library compiled to run inside your browser. Compare the two sizes before you keep the result: if the saving is small, the original was already efficient and you are only discarding detail for nothing.
Accepts: image/jpeg, image/png, image/webp
Lower means a smaller file and more visible loss. 80 is a good default.
Questions
- Will the image look worse?
- At the default quality of eighty, most people cannot tell the difference from the original on a screen. Below sixty it becomes visible.
- Does it change the file type?
- No. A JPG stays a JPG, a PNG stays a PNG. Only the file size changes.