Removing a background turns a photo of something into just the something, with transparency around it. You can then place it on a white page, a coloured banner or another photo. Software now does in seconds what used to take careful work by hand, though the result still needs checking.
Step by step
- Start with a suitable photo. The subject should be in focus, fully in frame and clearly different from what is behind it. A dark jacket against a dark wall is hard for any tool.
- Run it through a background remover. SquishPixel's background remover works in your browser, so the photo is not uploaded anywhere.
- Check the edges. Look at the cut-out against both a light and a dark backdrop, zoomed in. Hair, the gaps between fingers or chair legs, and anything thin are where mistakes show.
- Save it with transparency. Choose PNG or WebP. JPEG cannot store transparency and fills the background with a solid colour.
- Compress the result. A photographic cut-out saved as PNG is often a large file. WebP keeps the transparency in far fewer bytes.
How automatic removal works
The tool runs a model, trained on a large number of photos, that estimates for every pixel how much of it belongs to the subject. The result is a mask: solid where the model is sure, partly transparent along soft edges. It is a prediction and not a measurement, which is why unusual subjects sometimes give odd results.
Where it struggles, and what to do
| Problem | Why it happens | What helps |
|---|---|---|
| Ragged hair or fur | Single strands are thinner than a pixel | Photograph against a plain, contrasting backdrop. Place the cut-out on a colour close to the original background. |
| Parts of the subject are missing | They match the background in colour or brightness | Reshoot with more contrast, or restore the area by hand in an image editor. |
| Glass, smoke or a veil looks wrong | See-through things are part subject and part background | Expect to finish these by hand. Automatic tools rarely get them right. |
| The object seems to float | Its natural shadow went with the background | Add a soft shadow beneath it when you place it. |
| A faint coloured outline | Edge pixels still carry some of the old background colour | Trim the edge by a pixel in an editor, or place the cut-out on a similar colour. |
Getting a better result from the start
- Use even light. Hard shadows across the subject confuse the edge.
- Leave some space around the subject, and do not crop through it unless you mean to.
- Use the highest-resolution original you have, and resize the cut-out afterwards.
- For products, a plain backdrop a few shades lighter or darker than the product is ideal.
Using the cut-out
- Online stores. Some marketplaces, Amazon among them, require a pure white background for the main product image. Fill the transparent area with white and export a JPEG.
- Profile pictures and banners. Place the cut-out on a brand colour or a simple gradient.
- Web pages. Keep the transparency, serve the image as WebP, and set its
widthandheightso the layout does not shift while it loads.
Other ways to do it
Recent versions of iOS and macOS can lift a subject out of a photo. On an iPhone, touch and hold the subject in the Photos app. On a Mac, open the image in Preview and choose Remove Background from the Tools menu.
Image editors such as Photoshop and GIMP have selection tools for doing the job by hand. That is slower, and it is the fallback for the hard cases in the table above.
Keep the original
Removal cannot be undone from the cut-out alone, because the background pixels are gone. Keep the source photo, so you can try again with a different tool or fix an edge by hand later.