Compress PNG with color quantization: how it works
A full color PNG can hold millions of different colors. Most screenshots and logos use only a small share of them. Color quantization picks a limited palette that matches the image closely and maps every pixel to the nearest color in that palette.
Because PNG itself is lossless, the saved file has no blur and no blocky patches. The only change is in the colors, and on interface screenshots, diagrams and icons that change is usually invisible. Smooth gradients and photos are where you may notice slight banding.
Since the result is still a PNG, you can keep using it in slides, design tools and web pages exactly as before.
Quantization shines on images with large areas of the same color. A settings screen, a slide exported from a presentation, or a flat illustration often loses a big share of its weight. A detailed digital painting has more shades to keep, so it shrinks less.
Should your PNG really be a PNG?
Many large PNG files are actually photos. Phones and some apps save pictures or screenshots of photos as PNG, and that is the most wasteful case. Use this quick check:
| Image type | Best format |
|---|---|
| App or website screenshot | PNG, compressed |
| Logo or icon with a see through background | PNG, compressed |
| Camera photo or scanned picture | JPG or WebP |
| Graphic for a modern website | WebP |
If your PNG is a photo, switch the output to JPG or WebP, or use PNG to JPG and PNG to WebP. Remember that JPG has no transparency, so pick it only for images without see through areas.
Working with mixed files? Compress Image handles JPG, PNG and WebP together, and the image tools page lists everything else you can do.
Keep the uncompressed original for future edits.