Notes on Handling Transparent-Background Images (PNG to JPG)
- JPG doesn't support transparency, so it is filled with white
- Keep it PNG to preserve transparency
- A non-white background needs separate editing
When you convert an image with a transparent background, such as a logo or an illustration, to JPG, the background turns white. The look can change unintentionally, so here are the points to note. This explains how to handle it in Convert Image Format (JPG, PNG, WebP).
What transparency is
A transparent background means the "empty" part of the image shows whatever colour is underneath. A logo can be laid naturally over a website's background colour or a slide's colour. PNG and WebP can keep this transparency, but JPG cannot.
What happens when you convert
- PNG to JPG: transparent areas become white.
- PNG to WebP: transparency is kept (in a browser that can create WebP).
- JPG to PNG: it was never transparent, so a white background stays white.
Steps
- With "Choose images", select the image.
- To keep transparency, set "Output format" to PNG. With JPG, the background becomes white.
- Press "Convert" and check the result.
When unsure about using JPG
- Placing it on a white background: JPG is fine.
- Laying it over a coloured background or a photo: keep it as PNG.
- A form that accepts only JPG: check that submitting it with a white background is acceptable.
When you want another background colour
Converting to JPG makes it white. To use another colour, add the background colour in an image editor first, then convert.
Common stumbling blocks
- A white box appeared after conversion: transparency was replaced with white.
- The edges look jagged: laying a transparent image over another background can show a boundary.
- The file is too heavy: if you do not need transparency, JPG makes it lighter.
Frequently asked questions
Can I restore transparency later?
Not after converting to JPG. Keep the original PNG.
Is semi-transparency kept?
In PNG, yes. In JPG, it is mixed with white.
Summary
To keep transparency, use PNG. With JPG the background becomes white. Check the background where it will be used before converting.
Use "Convert Image Format (JPG, PNG, WebP)" (free)Tools that go well with this
- Convert HEIC to JPG: Convert HEIC photos from iPhone to JPG or PNG.
- Compress & Resize Images: Make image files smaller, and resize them if you like.
- Crop & Rotate Image: Crop an image to any area or ratio, and rotate it.