The short version
- Clear subject against a plain background is the easy case, and automatic removal handles it well.
- Hair, fur, glass, smoke and motion blur are genuinely hard, because the real boundary is not a line.
- Pick a subject mode that matches the photo — a model tuned for people and one tuned for products make different edge trade-offs.
- Fix a rough result with sensitivity, feather and edge trim before concluding the cutout failed.
- Save as PNG or WebP. JPEG has no transparency, so a cutout saved as JPEG gets a solid background instead.
Automatic background removal works by running the image through a neural network trained to output a mask — a per-pixel judgement of how much each pixel belongs to the foreground. Everything downstream, whether you get transparency, a solid colour or a blur, is compositing applied to that mask. So the quality of a cutout is almost entirely the quality of the mask, and the things that make a mask hard are specific and predictable.
The subjects that work well share one property: the boundary between subject and background is unambiguous. A person against a plain wall, a product on a sweep, a logo on white. The model finds a clean edge because there is a clean edge to find.
The hard cases are the ones where the true boundary is genuinely not a line. Hair, fur, foliage, motion blur, smoke, glass and anything semi-transparent all occupy pixels that are honestly part subject and part background. A mask can represent that with partial values, but the finer the structure the more it becomes a guess — which is why the same tool that cuts out a bottle perfectly leaves a halo around curly hair.
What the model is actually doing
The image is resized to the network's input size, normalised, and run through a segmentation model that outputs a single-channel mask at that resolution. The mask is then scaled back up to the original dimensions and used as an alpha channel. That sequence explains most of the artefacts people see.
Because the model works at a fixed, fairly small input size, fine structures thinner than a pixel at that scale cannot be represented — individual hairs, a chain-link fence, the teeth of a comb. Upscaling the mask afterwards smooths what it did capture, which is why fine detail comes back soft rather than sharp.
It also means image resolution beyond a point does not improve the cutout. A 24-megapixel photo and an 8-megapixel crop of the same subject produce very similar masks, because both are reduced to the same input size. What does improve the cutout is the subject being larger in the frame — cropping in before removing the background genuinely helps, where simply having more pixels does not.
Choose the mode that matches the subject
Segmentation models are trained on datasets, and a dataset of people produces a model with different instincts from a dataset of objects. A people-trained model is better at hair boundaries and at deciding that a held object belongs with the person; an object-trained model is better at hard product edges and at not inventing a person-shaped silhouette where none exists.
So the subject mode is not a cosmetic preset — it selects which model runs. Picking the wrong one gives a plausible mask that is subtly worse in exactly the places you care about: a product photographed in someone's hand cut out with a person model keeps the hand, and a portrait cut out with a product model tends to lose wisps of hair.
Zyff only offers the modes whose models are actually installed, and falls back to a general-purpose model otherwise, so a mode listed in the dropdown is one that will really run. If only the general mode appears, that is what is available on the server rather than a fault.
- Person mode: portraits, group shots, anything where a human is the subject.
- Product mode: objects on a plain background, packshots, listings.
- Auto: a general model, and the right choice for mixed or ambiguous subjects.
Fixing a rough edge with the three settings that matter
Most disappointing cutouts are fixable without changing anything about the photo, and three controls do nearly all of that work.
Sensitivity moves the threshold at which a partial mask value counts as foreground. Raise it when parts of the subject are being cut away; lower it when fragments of background are surviving as a fringe. It is the first thing to reach for and often the only one needed.
Feather softens the mask boundary by a small blur. A hard mask edge composited onto a new background looks cut out with scissors, and one or two pixels of feather is usually the difference between obviously fake and unremarkable. Too much feather makes the subject look like it is dissolving, so keep it small.
Edge trim erodes the mask inward by a pixel or two. This is the specific fix for a coloured halo, which happens when pixels at the boundary carry some of the original background colour — trimming removes them rather than trying to correct them. It is the standard remedy for a subject shot against a strongly coloured backdrop.
| Symptom | Setting | Direction |
|---|---|---|
| Parts of the subject are missing | Sensitivity | Increase |
| Background fragments remain | Sensitivity | Decrease |
| Edge looks cut out with scissors | Feather | Increase slightly |
| Coloured fringe around the subject | Edge trim | Increase by 1-2 |
| Subject looks blurry at the boundary | Feather | Decrease |
| Subject touches the frame edge | Padding | Add a few percent |
The subjects that will not cut out well
Some photographs cannot produce a clean automatic cutout, and recognising them early saves a lot of slider-dragging.
Anything transparent is the hardest case, because the correct answer is not a mask at all — a wine glass shows the background through it, and representing that needs the background removed from behind the glass while what is visible through it is kept. Automatic tools either make the glass opaque or make it disappear.
Low contrast between subject and background is the next. A grey coat against a grey wall gives the model very little to work with, and no setting recovers an edge that is not visible in the pixels. Motion blur has the same effect for the same reason: the boundary is genuinely spread across many pixels.
Fine repeating structure — chain-link, mesh, lace, flyaway hair against a busy background — will come back approximated. That can be perfectly acceptable at small display sizes and obviously wrong at full resolution, so judge the result at the size it will actually be used.
Saving it correctly
A cutout is only useful if the format keeps the transparency, and this is where a surprising number of otherwise good results are thrown away. JPEG has no alpha channel at all. Save a transparent cutout as JPEG and the transparent area is filled — usually with black or white — with no warning, because the encoder has no way to represent what you asked for.
PNG is the safe choice: lossless, universally supported, and it keeps full alpha. WebP also keeps alpha and produces a considerably smaller file, which makes it the better option for a web page. Use JPEG only when you have deliberately composited onto a solid colour and no longer need transparency.
If the cutout is going onto a known background colour anyway, compositing it during removal rather than exporting transparency is worth doing — it avoids any chance of a halo showing against that specific colour, and lets you use JPEG safely.
Try it on Background Remover
Free, no signup, no watermark. Runs on Zyff’s servers, so you get the same result on a phone as on a desktop.
How to remove a background from an image
Crop in on the subject first
If the subject is small in the frame, crop closer before removing the background. The model works at a fixed input size, so a larger subject means more of that budget spent on the edge you care about — this helps far more than a higher-resolution source does.
Pick the matching subject mode
Open Zyff's background remover and choose person for portraits or product for objects. The mode selects which trained model runs, not just a preset, so matching it to the photo changes the quality of the edge rather than the style of it.
Run it and judge the edge, not the middle
The interior of a subject is almost always right. Zoom into the boundary — hair, shoulders, the base of a product — because that is where every real problem is, and where the settings below have their effect.
Adjust sensitivity for what is missing or left over
Raise sensitivity if parts of the subject have been cut away, lower it if fragments of background survive as a fringe. This one control fixes most rough results on its own.
Add a little feather, and trim any halo
One or two pixels of feather stops the edge looking cut out with scissors. If there is a coloured fringe from the original background, increase edge trim by a pixel or two to erode those pixels away rather than trying to correct their colour.
Export as PNG or WebP
Both keep the transparency; WebP is significantly smaller and right for a web page, PNG is the universally safe choice. Do not export as JPEG unless you have composited onto a solid colour, because JPEG has no alpha channel and will fill the transparent area silently.
At a glance
| Subject modes | auto, person, product — only modes whose model is installed are offered |
|---|---|
| Background options | Transparent, solid colour, or blurred original |
| Output | Finished cutout, or the raw mask |
| Formats with transparency | PNG and WebP; JPEG has no alpha channel |
| Edge controls | Sensitivity, feather, edge trim, padding |
| Upload ceiling | 25 MB, up to 30 megapixels |
| Price | Free, no account needed |
Frequently asked questions
How do I remove the background from an image for free?
Upload the photo to Zyff's background remover, pick the subject mode that matches it, and download the result as PNG or WebP. It is free with no account and adds no watermark or resolution cap. The work runs on Zyff's servers, and the uploaded file is processed in memory for that one request and never stored.
Why does my cutout have a white or coloured outline?
Because pixels right at the boundary carry some of the original background colour, and the mask kept them. Increase the edge trim setting by one or two pixels to erode those pixels away. A small amount of feather afterwards blends what remains, which together removes almost every halo of this kind.
Why is the hair in my photo not cut out properly?
Individual hairs are finer than the model's working resolution can represent, so they come back approximated rather than separated. Cropping closer before removing the background helps, because the subject then occupies more of that fixed input size. For flyaway hair against a busy background, expect an approximation and judge it at the size the image will actually be displayed.
What format should I save a transparent image as?
PNG or WebP. Both support an alpha channel, with WebP producing a much smaller file and PNG being the universally safe option. Never save a cutout as JPEG — JPEG has no transparency, so the transparent area is silently filled with a solid colour instead.
Does a higher resolution photo give a better cutout?
Not really. The image is reduced to the model's fixed input size before the mask is generated, so extra megapixels are discarded before they can help. What genuinely improves the result is the subject filling more of the frame, so cropping in first is more effective than starting from a larger file.
Can automatic background removal handle glass or transparent objects?
Poorly, and this is a limitation of the approach rather than a setting to find. A mask assigns each pixel to foreground or background, but a wine glass is genuinely both — you see the backdrop through it. Automatic tools tend to make transparent objects opaque or remove them, and these subjects still need manual masking.
What is the difference between the subject modes?
Each mode runs a different trained model. A model trained on people is better at hair boundaries and at keeping objects a person is holding; a model trained on objects is better at hard product edges and does not invent a person-shaped silhouette. Auto uses a general model and suits mixed or ambiguous subjects.