About Add Background to Transparent Image
A cut-out from a background remover is only half finished until it sits on something. Choose a picture with transparency and put a plain color, a two-color gradient or a photo of your own behind it, with a live preview. Add padding around the subject, and soften a hard or jagged outline with edge feathering so it blends into the new background.
If the picture you choose has no transparent pixels at all, the tool says so instead of handing back the same picture. Save the result as PNG, JPEG or WebP.
How it works
- Your picture is decoded by your browser, upright as the camera recorded it, and drawn on a canvas; nothing is uploaded.
- The background is painted first: a solid color, a gradient between two colors in the direction you pick, or a photo scaled to cover the canvas or fit inside it.
- Feathering blurs a copy of the picture’s transparency and keeps the lower of the two values at each pixel, so the outline fades inwards over a narrow band that grows with the picture and never spreads a halo outwards.
- The picture is drawn on top and the result is encoded as PNG, JPEG or WebP. Every pixel of the result is opaque, so JPEG loses nothing to transparency.
Questions
What does edge feathering do?
It softens the outline of the cut-out. The pixels on the edge drop to about half their opacity, and Light, Medium and Strong bring them back to full opacity over a band about 0.4%, 1% and 2.4% of the picture’s shorter side wide (at least a pixel or two). Use it when a background remover left a hard, stair-stepped edge; leave it off for clean graphics such as logos.
Why does it say my picture has no transparent pixels?
Because the background can only show where the picture is see-through. A JPEG, or a PNG saved without transparency, is opaque everywhere, so only the padding would change. Remove the background first, then come back.
Which pictures can I use?
PNG, WebP, AVIF or GIF up to 100 MB for the picture (only a GIF’s first frame is used), and any photo your browser opens for the background. The orientation recorded by a phone camera is respected.
Will a large phone photo work on an iPhone?
Yes. An iPhone can only draw about 16.7 megapixels on one canvas, so a larger result is scaled down to fit and the tool says so, with the size it used. On a computer the limit is about 100 megapixels.
Why does WebP fail to save in Safari?
Safari cannot write WebP images from a canvas. The tool tells you when that happens; choose PNG or JPEG instead.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.