What Transparent PNG Means Technically
A PNG with transparency has an alpha channel — a fourth data channel alongside Red, Green, and Blue that stores opacity information for every pixel. A fully transparent pixel has alpha=0. An opaque pixel has alpha=255. Partially transparent pixels (useful for soft edges like hair or fur) have values between.When you save the result of background removal as a PNG, the subject pixels retain their original RGB values with full opacity, while background pixels have their alpha set to 0 (transparent). The checkerboard pattern you see in image editors indicates transparent areas.
The Output Works Immediately In:
- Web pages — img tags render transparent PNGs over whatever CSS background is behind them
- Canva, Figma, Adobe XD — drag the file in and composite over any background
- Google Slides, PowerPoint — insert image, it appears with transparent background over your slide design
- E-commerce platforms — Shopify, Amazon, Etsy accept transparent PNGs for product images
How the AI Segmentation Works
The Background Remover uses a U2-Net ONNX model:- Your image is decoded and resized to the model's input dimensions for inference
- ONNX Runtime Web runs the model on your CPU (with WebGL acceleration where available)
- The model outputs a probability mask — each pixel gets a value from 0 to 1 indicating how likely it is to be foreground
- The mask is upscaled back to your original image dimensions
- Pixels above a threshold are kept at full opacity; below threshold, alpha is set to 0
- The result is composited into a transparent PNG using the HTML5 Canvas API
Common Issues and Fixes
Halo effect (background color bleeding around edges): This happens when edge pixels have mixed colors from subject and background. The model assigns them partial transparency — this is correct behavior. Use Photoshop's Decontaminate Colors for critical applications.Part of subject removed: The model identified part of the subject as background, usually because it has similar color/texture. Try increasing contrast in the source image or crop tighter.