Image guides

Why is my image larger after converting it?

File size comparison for the same 650 by 330 image: JPEG at 13,414 bytes and PNG at 132,541 bytes.

See how a JPEG can grow after a PNG conversion, compare the actual bytes, and decide when to keep the larger file.

Check the dimensions before comparing sizes

Open the original and exported files and compare width and height. If one is twice as wide and twice as tall, it has four times as many pixels. If the dimensions match, look at the encoding. A photo with tiny changes in color from pixel to pixel can take much more space in lossless PNG than it did as a JPEG.

Follow the bytes through one conversion

We created a 650 × 330 violet gradient with fine grain and saved it as a JPEG at quality 80 using Pillow. That file used 13,414 bytes. We opened that JPEG and saved its decoded pixels as PNG, with no resizing or edits. The PNG used 132,541 bytes, about 9.9 times the size. The chart shows that pair of files. A different picture or encoder will give different numbers.

Decide which copy earns its space

For an annotated manual, a PNG working copy lets you add small labels without introducing another round of JPEG compression every time you save. For a website that only needs to display the unchanged photograph, the original JPEG may already be the better delivery file. If you need a smaller download, try a WebP copy and inspect its edges at the displayed size.

Run the check on your own image

Open JPG to PNG and choose your photo. Compare the original and output byte counts beside their previews. Record the dimensions as well as the sizes. A bigger PNG preserves the decoded pixels faithfully, including any blur or blockiness already present in the JPEG. Keep the original if you may need to revisit the export.

Open JPG to PNG
Why is my image larger after converting it? | Pixboxi