How to change the background of a photo free (color or another image)
Updated on · Reading time: 6 minutes · By Gabriel Maglia
Changing a photo's background sounds like Photoshop and hours of work,
but in practice it's two steps: separate the subject
from the background it already has and put another one
behind. The first —the cutout— is the hard part, and it's
exactly what automatic cutout does well. The second is just picking a
color or an image. This guide covers both variants: a solid color
background and a background made from another photo, with the details of
when each is best.
BeforeThe original, with its background.AfterThe same subject on a new color background.
The two kinds of "change the background"
Before touching anything it helps to be clear about the result you want, because each is solved differently:
Solid color background: the most common and the safest. Great for product photos, profiles, resumes, IDs. It's hard to get wrong because there's no second image "fighting" with the subject.
Background from another photo: placing the subject on a landscape, a texture, a stylish wall or a brand backdrop. More versatile, but also easier to give away the montage if the lighting doesn't match.
Step by step
Open the photo whose background you want to change in PhotoCut Studio.
Use AI Cutout to separate the subject from the original background; brush over the areas where the edge looks uncertain (hair, fingers, thin objects).
In Export, choose the Color mode for a solid background, or the Image mode to put another photo behind.
If you use a background image, adjust the opacity so it doesn't compete with the subject, and use the scale control to frame it.
Download as PNG or WebP; use JPEG only when the background is solid and you don't need transparency.
Cut out the subject once in PhotoCut Studio; then try as many backgrounds as you like.
Color background: the shortcut that almost never fails
When the question is "which color?", the answer depends on the use. For
paperwork, resumes and product photos, pure white (#ffffff)
is the standard. For social media or presentations, a brand color or a
neutral tone (light gray, muted blue) makes the subject stand out without
distracting. The advantage of a solid background is that the cutout
doesn't need to be pixel-perfect: a flat color is more forgiving than a
detailed photo behind.
Background from another image: how to keep it convincing
Placing the subject on another photo is where credibility is at stake. Three things help it not look pasted:
Consistent light. If the subject is lit from the left, look for a background whose light comes from the same side. A subject in shadow on a sunlit background screams "montage".
Opacity in service of the subject. Lowering the background's opacity a little pushes it "back" and keeps the eye on the subject. Especially useful with busy backgrounds.
Clean edge. Over a detailed photo, any leftover of the original background shows. Check the outline with zoom and the before/after compare before exporting.
Common mistakes when changing the background
Choosing the background before cleaning the cutout. Get the subject perfect first; only then try backgrounds. Otherwise you're adjusting the cutout blind.
A background that competes with the subject. A background as colorful or detailed as the subject splits attention. When in doubt, simpler is better.
Exporting as JPEG expecting transparency. JPEG doesn't store transparency: for a transparent background it's PNG or WebP.
Ignoring the background's resolution. If the background image is smaller than the photo, it'll look pixelated when stretched. Start from a large background.
All in your browser, nothing uploaded
Changing the background means handling two of your images: the original
and the background. In PhotoCut Studio both are processed locally, on your
device. They aren't uploaded to any server or stored: when you close the
tab, nothing is left behind.
We tested it: cut out once, try backgrounds without cutting out again
I loaded the portrait and applied “AI cutout” just once.
With “Transparent” + PNG I downloaded the cutout with the edge feather at 0, 2 and 6 px and counted the semi-transparent pixels.
I chose “Color” mode, #1e4d8c, JPEG format and downloaded.
I loaded paisaje-sintetico.jpg (4000 × 3000 px, 97 KB) as the background image at opacity 100 and downloaded in JPEG.
What I measured:
AI cutout just once: 21.6 s. Changing the background afterwards didn't run the AI again: exporting with a color took 0.1 s and with a background image 0.3 s (download included).
JPEG with the #1e4d8c background: 720 × 900 px, 56 KB; the corner pixel came out rgb(29, 77, 139) (I asked for rgb(30, 77, 140)). With the background image: 64 KB.
What went wrong or what limit I saw: The JPEG returned the color one level off from what I asked for (because of compression). I measured sizes and edge pixels, not how well the hair blends into the new background: I judged that by eye and didn't quantify it, so I'm not claiming which feather looks best. The AI cutout took ~22 s because it was the first one in a new tab on a Mac with a GPU: that includes downloading the model from my machine and preparing the GPU; in the same tab, the following ones take about 4 s.
Tested by Gabriel Maglia on with PhotoCut (web) in Chrome 155.0.8059.80 · macOS 14.8.8 · PhotoCut version: commit 7ec5265. AI cutout with BiRefNet-lite on the GPU (WebGPU).