A conversion is not a promise of a smaller file. Compare dimensions, format and actual bytes. PNG may be larger than JPEG for the same raster image because it keeps pixel values without JPEG-style losses.
Before you start
It is easy to assume that a tool labeled “compress” always produces fewer bytes. In practice, a browser decodes an image into pixels and then encodes a new file. The new encoder may use different choices from the original. It can also remove one type of compression advantage while introducing another.
The sample below deliberately changes a JPEG export to PNG at the same width. The result is useful for diagnosis, not a recommendation to convert every JPEG. Saving a lossy image as PNG does not restore its missing detail. It only avoids adding another round of JPEG loss during that particular save.
desk-poster.png · Original Deskcraft example · Reusable for practice
The walkthrough
Record the three useful facts
Before changing anything, write down the original dimensions, file type and size. A label such as high quality is not enough. In this exercise the source artwork is 1800 × 1200 pixels and both comparison copies are 1200 × 800.
Create a JPEG reference
Select JPEG, width 1200 and quality 70%. Create a copy. Keep the reported byte count. You are creating a comparison export from the original sample, not compressing a previously downloaded JPEG again.
Create a PNG at the same dimensions
Switch to PNG and leave width unchanged. The quality control is disabled because it does not apply. Create a copy and compare the reported size with the JPEG reference. The artwork and dimensions are the same, but the encoding is different.
Decide what must be preserved
For small text, transparency or repeated editing, a larger PNG can be reasonable. For a screen-viewing attachment without transparency, a visually acceptable JPEG may be more useful. Choose based on the work the image needs to do.
Change one variable on the next attempt
Return to the source, choose the intended format, then reduce width or adjust quality separately. This makes the next result explainable. Keep a short note of the setting that meets your destination limit without damaging useful detail.
Before & after, in practice
| What we checked | Starting comparison | After the change |
|---|---|---|
| Dimensions | 1200 × 800 px | 1200 × 800 px |
| Encoded size | 41,263 bytes | 121,090 bytes |
| Export type | image/jpeg | image/png |
Recorded in Chrome 153.0.8010.54. These are measurements of this practice file, not guaranteed results for every file or browser.


Download the actual output recorded for this walkthrough.
When it goes wrong
The PNG quality slider does nothing
That is expected here. Lossless PNG export does not use the JPEG quality parameter. Change dimensions or select a different format if appropriate.
The image is smaller on screen but larger in bytes
Pixel dimensions and encoded bytes measure different things. A smaller PNG can outweigh a larger JPEG.
The JPEG became larger after saving again
Different encoders and higher quality settings can increase size without recovering detail. Export once from the best available original.
The final check
Compare the two output byte counts and confirm their pixel dimensions are identical. If the PNG is larger, that is a valid result, not a tool failure. If your own test behaves differently, keep that measurement; simple flat graphics can compress very efficiently as PNG.
Further reading & method
These links explain the underlying formats or browser behavior. The steps, examples, screenshots and measured results above come from the Deskcraft tools. Screenshots do not depict Excel, Photoshop or another commercial application.
See how these guides are made. Found an error? Send a correction with the guide title and the step you tried.