PortImg Insights

Transparent PNG to JPG: What Happens to the Background, and When to Convert

Date
Updated
Read time3 min read
Transparent PNG to JPG: What Happens to the Background, and When to Convert

JPG has no transparency, so a clear PNG background turns white when you convert. What happens to soft edges, file size and quality, and when to keep the PNG.

You have a logo, a product cut-out or a signature as a PNG with a transparent background, and a form or a program wants a JPG. Converting is one click, but the result depends on something the JPG format simply cannot do: store transparency. Here is what our PNG to JPG converter does with a clear background, and when you are better off keeping the PNG.

The background becomes white

Every pixel in a JPG is solid. When a PNG with a transparent background is converted, the clear areas have to become some color, and our converter uses white. That covers most needs: documents, forms and white web pages show the image exactly as before.

Edges that were partly see-through, the soft outline of a logo or the shadow under a product photo, are blended with white too. They look right on white and wrong on anything darker: placed on a colored background, the JPG shows a white box with a pale fringe around the subject. If the image will sit on a colored or dark background, keep the PNG, or make a version with that background color in an image editor.

What happens to the file size

It depends on the image. JPG is built for photos, PNG for flat colors:

ImagePNGJPG (quality 90)
Detailed color logo, 500 × 500176 KB39 KB
Simple flat logo, 500 × 500, transparent3.3 KB16 KB
Photo, 512 × 512417 KB70 KB

A simple logo of a few flat colors got almost five times bigger as a JPG, because JPG adds faint noise around every edge and stores it. A detailed graphic or a photo shrinks a lot.

What happens to quality

Our converter saves JPGs at quality 90. Photos look the same at normal size. Sharp edges, such as the letters in a logo or the lines of a signature, get faint smudges you can see if you zoom in. The width, height and DPI stay the same, and the color profile is kept.

When to convert, and when not to

  • Convert when a form, a print shop or a program only accepts JPG, or when the PNG is a photo and you want a much smaller file.
  • Keep the PNG when the image will be placed over a colored background, when it is a simple logo or icon (the PNG is smaller and sharper), or when you will edit it again.
  • Consider WebP for your own website: it keeps transparency and is usually small. See our WebP guide.

The other direction

Converting a JPG to PNG does not bring transparency back: the white background stays white. To cut a subject out of its background, use Remove Background, which gives a transparent PNG; our guide to removing backgrounds explains what it does well and where edges need checking.

Written and tested by the PortImg team: the figures in this guide come from running files through our own tools. How we test

Image ToolsPDFTutorial
Found this helpful?

Try PortImg's free tools

Convert, compress, and edit images and PDFs — no sign-up needed.

Explore tools