Tests
Flat graphics get bigger as JPEG: what eight test images showed
Short version
In our eight-image test, photographs shrank dramatically as JPEG while flat graphics got larger. A 3200×2400 flat PNG was 27 KB; JPEG quality 85 produced 70 KB. Keep PNG for logos, icons, screenshots and diagrams; use JPEG for photographs.
"Convert everything to JPEG to reduce file size" sounds reasonable until the image contains flat colour and hard edges. We tested eight synthetic images at four resolutions and two content types to see what actually happened.
The flat-graphic result

| 3200×2400 flat graphic | File size |
|---|---|
| PNG | 27 KB |
| JPEG, quality 85 | 70 KB |
| JPEG, quality 55 | 64 KB |
The JPEG exports were larger than the original PNG. Even the most aggressive quality setting did not bring the file back below the PNG size.
Flat graphics often contain large areas of similar colour, simple shapes and sharp boundaries. PNG encodes those patterns efficiently. JPEG is optimised for photographic variation; around hard edges it can introduce artefacts and spend bytes describing detail that was already stored compactly.
The photographic result was the opposite
The 3200×2400 photo-like sample measured 16,917 KB as PNG. JPEG quality 85 brought it to 1,671 KB, quality 70 to 776 KB, and quality 55 to 471 KB. An 800×600 photo went from 1,058 KB as PNG to 105 KB as JPEG at quality 85.
Same format conversion, opposite outcome. The difference is the content.
Who should use what
- Logos, icons, screenshots, diagrams and simple illustrations: keep PNG unless a direct comparison shows another format wins.
- Photographs: start with JPEG around quality 80–85. Step down only after inspecting the result.
- Any oversized image: check dimensions first. Resizing the 3200×2400 photo to 1600 px on the longest side, then exporting as JPEG 85, produced 188 KB — less than a quarter of the full-resolution export.
Limits
These are synthetic images and one encoder path. Real files behave differently, and quality numbers are not universal units across formats. The point is not that PNG always wins for graphics or JPEG always wins for photos; it is that a single export rule cannot serve both. Measure the output you actually produce.
Try the image compressor and image resizer locally, then compare before and after at the size you will use.
Frequently asked questions
Why did JPEG make a flat graphic larger?
Large areas of similar colour and sharp edges are stored efficiently in PNG. JPEG introduces artefacts around edges and may spend more data representing detail that was already compact.
Should I convert every image to JPEG to save space?
No. The test showed the opposite result for flat graphics. Choose the format by image content.
What helped the photograph besides format?
Resizing. A 3200×2400 photo resized to 1600 px and exported as JPEG 85 measured 188 KB, far below the full-resolution export.