What that white outline actually is
That thin bright ring hugging your subject's edges is called a halo, fringe, or matte line. It's a strip of leftover background color that survived the cutout, sitting right on the boundary between your subject and whatever new background you've placed it on. It's most obvious on hair, fur, fuzzy sweater edges, or anything with soft, uneven contours — because that's exactly where an automatic cutout has the least clean line to work with. It's also most visible when the destination background is light or white, since the leftover color reads as a bright, unnatural rim instead of blending in. This isn't a sign the tool is broken — it's a well-known limitation of automatic, AI-based cutouts, and it's fixable, or at least made much less noticeable, in a few concrete ways.
Why AI background removers cause this specifically
An AI segmentation model doesn't cut a hard, binary line around your subject the way a person tracing a path in Photoshop would. It outputs a soft alpha mask — a per-pixel transparency value from fully opaque to fully transparent. Pixels right at the subject's boundary usually land somewhere in between, at partial transparency, because the model is genuinely uncertain whether they belong to the subject or the background. PixelTools' Remove Background tool runs @imgly/background-removal, an ONNX/WASM AI model, entirely in your browser (nothing is ever uploaded), and it works the same way: those partially-transparent edge pixels are actually a blend of your subject's color and a sliver of the original background's color. When that blended pixel gets composited onto a new background, the old background's color shows through as a visible ring. This is standard alpha-matting behavior, not a bug in any one tool.
Prevent it before you even remove the background
The single biggest factor in how clean your cutout looks is the photo you start with, not anything you do afterward. A plain, evenly lit, high-contrast background — a solid wall, a seamless backdrop, even a plain floor — gives the segmentation model an easy, unambiguous edge to detect, so far fewer pixels end up in that uncertain partial-transparency zone. A busy, low-contrast, or dimly lit background (patterned fabric, clutter, a background close in color to your subject, harsh shadows on the edge) gives the model much more to guess at, and guessing is exactly where blended edge pixels — and the halo they cause — come from. If you're shooting new photos specifically to run through a background remover, a few minutes of setup here saves real cleanup time later, and there's no tool-side fix that fully makes up for a bad starting photo.
Fix or minimize it after the background is removed
Once you have your transparent PNG, the most reliable fix is to physically remove the fringe: run the result through PixelTools' Crop tool and trim a few pixels in from each edge of the subject. Since the halo lives in a thin ring right at the boundary, cropping just inside it cuts the discolored pixels away entirely — this works especially well before compositing onto a solid-color backdrop. Second, consider your destination background: a halo that's glaring against pure white is often nearly invisible against a photo-realistic, textured, or darker background, because there's more visual noise for a faint fringe to disappear into. If your use case allows it, choosing a busier or darker backdrop is a legitimate way to sidestep the problem rather than fight it pixel by pixel.
When it's not fixable — and what to do instead
Cropping tighter removes fringe at the cost of shaving a little off your subject's silhouette, which isn't always acceptable — a headshot where the crop would cut into hair, or product photography needing a pixel-perfect edge. On complex edges like flyaway hair or fur, some softness at the boundary is close to unavoidable with any automatic tool, AI or otherwise; it's inherent to alpha-matting, not something a better algorithm eliminates entirely. If you need a genuinely pixel-perfect edge, the honest options are: retake the photo against a cleaner background and re-run the cutout, since prevention beats any downstream fix, or open the PNG in a full image editor with manual selection and edge-refinement tools built for exactly this. Automatic background removal trades some edge precision for speed and no manual masking — for most everyday uses that trade is worth it, but it's not magic.