Why transparent pixels cannot survive JPEG
PNG can store an alpha channel that describes full or partial pixel transparency. Standard JPEG does not store an alpha channel. A conversion must therefore flatten the image against a background color before encoding it as JPEG. White and black are common defaults, but neither is required by the JPEG file format. The conversion tool or editing application makes that choice.
Why the result is white in one app and black in another
A transparent area has no intrinsic visible color on its own. When a program composites it over a white canvas, the final JPEG looks white; when it composites over black, it looks black. Some viewers display transparent PNG files on a checkerboard, while others use a white preview backdrop. The checkerboard is a transparency indicator, not normally part of the saved image.
How to convert a logo with the intended background
Open a separate copy of the PNG and choose the final backdrop before exporting. If you need a white JPG for a marketplace listing, add an opaque white background layer and export JPEG. If your logo must appear over changing webpage colors, keep PNG or a transparency-supporting WebP file instead. Do not expect a JPEG saved with a transparent-looking checkerboard pattern to regain transparency.
Semi-transparent edges and dark halos
Anti-aliased edges and soft shadows often use partially transparent pixels. Converting against the wrong background can leave a visible white or black fringe when the flattened image is later placed somewhere else. Choose the destination background first and inspect the export on that intended background. Text, thin outlines and gradients deserve a particularly close review.
A concrete example: purple logo on three canvases
Picture a purple flower logo on transparent PNG pixels. On a white canvas, the exported JPG has permanent white areas around the flower. On a black canvas, the same original yields permanent black areas. On a lavender canvas, those pixels become lavender. All three JPGs may be valid, but none retains the PNG alpha channel. This example illustrates compositing rather than measuring a specific converter.
Choosing between JPEG, PNG and WebP
JPEG is broadly compatible and often efficient for natural photographs. PNG can preserve transparency and sharp graphic edges without lossy encoding. WebP supports both transparency and lossy or lossless encoding, though upload sites may not accept it. Confirm the destination's format rules, inspect the actual file after export, and retain the editable original.
A
C
r
W
h
L
o
Try the workflow
Start with a non-sensitive sample, preserve the original and compare the output before using it.
Open relevant tool ↗