The useful answer

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.

Your practice file

desk-poster.png · Original Deskcraft example · Reusable for practice

Download source ↓

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 checkedStarting comparisonAfter the change
Dimensions1200 × 800 px1200 × 800 px
Encoded size41,263 bytes121,090 bytes
Export typeimage/jpegimage/png

Recorded in Chrome 153.0.8010.54. These are measurements of this practice file, not guaranteed results for every file or browser.

Image Workbench: Starting comparison for Why did my “compressed” image get bigger?
Starting comparison. Actual Image Workbench operation captured with the supplied practice file. Select the image to inspect the settings at full size.
Image Workbench: After the change for Why did my “compressed” image get bigger?
After the change. Actual Image Workbench operation captured with the supplied practice file. Select the image to inspect the settings at full size.
Inspect the demonstrated result

Download the actual output recorded for this walkthrough.

Download result ↓

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.

Keep one clean original. The tools create a new copy. They do not overwrite your source. For important work, verify the downloaded result in the application that will actually use it.

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.