The practical answer
JPEG cannot store an alpha channel. KitNelo’s image resize entry fills transparent areas with white when exporting JPEG. Keep PNG when transparency is required. Converting an already flattened JPEG back to PNG cannot automatically reconstruct its original transparent edges.
Choose the delivery task before the format
The MDN image format guide distinguishes JPEG from PNG transparency support. This article concerns conventional JPEG/JPG files, without treating similarly named formats as the same encoding.
Open Resize images and initially retain the original dimensions. This separates a format-induced background change from a resize-induced edge change. If the original already has a fringe, start with the transparent-background edge inspection.
| Task | Suggested result | Inspect |
|---|---|---|
| Logo for multiple layout colors | Keep PNG | Transparent regions and translucent edges |
| Photo explicitly requiring white JPEG | Export JPEG | White background, edges and actual encoding |
| Another background color is required | Composite in a suitable editor first | This entry does not offer arbitrary JPEG fill colors |
Three pixels explain the background
This is an original, simplified 8-bit channel compositing exercise, not a color-management or compression benchmark. A fully transparent pixel exposes the background; an opaque pixel shows its own color; a translucent pixel combines both.
In a simplified channel calculation, 50% opaque red (255,0,0) over white (255,255,255) gives approximately (255,128,128). Over black it gives approximately (128,0,0). JPEG encoding, color spaces and viewers may change measured values, so these approximations are not a pixel-fidelity promise.
| Source pixel | Opacity | Result over white |
|---|---|---|
| Any RGB | 0% opaque | White background |
| Red (255,0,0) | 50% opaque | Approximately (255,128,128) |
| Red (255,0,0) | 100% opaque | Red, subsequently affected by lossy JPEG encoding |
Download two comparable files
Import a transparent PNG you are permitted to process. Export a PNG at its original dimensions, then export JPEG from the same original. Do not use the first JPEG as the input for the second conversion.
Previewing is not download acceptance. Open both files: place PNG over dark and light backgrounds and inspect the outline. JPEG should remain a white rectangle over a dark layout because the background has become part of an opaque deliverable.
- Check source dimensions, actual format and transparent regions instead of trusting the filename alone.
- Select the output format in the resize entry and keep the dimensions; begin with the default JPEG quality.
- Process, preview and download. Give the copies recognizable transparent and white suffixes.
- Open them in the recipient’s actual application and inspect corners, fine lines, shadows and text edges.
Why converting back does not remove the fringe
White may already be part of the pixels. PNG can store transparency, but conversion does not establish which white pixels should be transparent. Removing every white pixel can also erase white areas of the product itself.
Return to the transparent master and export again. Use background removal only if a new cutout is actually needed, then inspect over both black and white for damaged highlights or white objects. See keep a master and export JPEG copies from it for a reusable handoff routine.
A format round trip cannot recover lost alpha
Transparent PNG → white JPEG → PNG, expecting the white to disappear.
Retain the transparent original and create each white-background deliverable directly from it.
Accept the appearance and the file together
This entry processes locally in the browser and accepts PNG, JPEG and WebP. Current limits are 30 MB per file, 40 million pixels and 16000 pixels on either side; browser memory can impose further limits. Export a suitable copy from the master when these limits are exceeded.
A white JPEG serves a task that explicitly requires an opaque white background. It does not establish acceptance by a marketplace. Check the destination’s dimensions, byte limit and composition rules as well.
Format delivery checks
- PNG still exposes different backgrounds through its transparent regions.
- JPEG white fill matches the delivery requirement and is not mistaken for a transparent asset.
- Fine lines, shadows, lettering and product highlights remain usable.
- The transparent original, settings and both downloaded copies remain traceable.
Common questions
Will quality 100 retain transparency?
No. Quality affects lossy encoding; it does not add an alpha channel to JPEG. Choose a transparency-capable format when required.
Do white corners prove the original lacked transparency?
No. Export may have filled transparent corners. Inspect the original PNG rather than inferring from the JPEG.
Can this entry use a blue JPEG background?
Its current JPEG fill is fixed to white. Composite a blue background in a suitable editing workflow first; a preview page’s background is not the exported image background.
Further reading & sources
Put the guide into practice
Open the relevant tool, preview the result and check your exported file.


