How to Combine Two Photos Convincingly: Cut-Outs, Shadows and Colour
A practical guide to photo compositing: selecting an object, feathering edges, matching colour and light, and adding shadows so it looks real.

How to Combine Two Photos Convincingly: Cut-Outs, Shadows and Colour
Placing an object from one photo into another is called compositing. It is how product shots end up on lifestyle backgrounds, how a family member who missed the group photo gets added, and how designers build posters. A bad composite looks pasted on instantly, but a good one is invisible. The difference comes down to four things: a clean cut-out, matching colour, believable shadows and sensible scale. This guide covers each one using the free Photo Compositor, which runs entirely in your browser.
Start with compatible photos
No amount of editing can fully fix photos that disagree about light. Before you begin, look at the direction of light in both pictures. If the sun comes from the left in the background, the object should also be lit from the left, or you should flip it horizontally so it is. Also compare the camera height: an object shot from above will look wrong on a background photographed at eye level. Choosing well matched photos saves more time than any slider.
Making a clean selection
Traditional selection means tracing the outline by hand. The compositor instead uses a compact version of Segment Anything, a model trained to find object boundaries from a few clicks. Click the middle of the object and it proposes a mask. If part is missing, click there to add it; if the mask grabbed some of the background, mark that spot as an area to remove. Two or three clicks are usually enough for products and people with clear edges.
The first click takes a little longer because the model loads and studies the whole photo once. After that, each extra point is quick. The model and your photo both stay on your device.
Feathering the edge
Real photos never have perfectly sharp edges between objects; there is always a pixel or two of softness from the lens and from motion. A cut-out with a razor edge looks pasted. A small feather of two to four pixels blends the edge into whatever is behind it. Use more feather for soft objects like plush toys, less for hard ones like phones and bottles.
Scale and position
Think about where the object would really be. If it stands on a table, its base must sit on the table surface, not float above it. Use the size of known items in the background, such as doors, cups or chairs, to judge scale. An object placed further back must also be smaller. Small rotations help an object follow the angle of a surface. Dragging with a finger and pinching with two fingers works on phones; on a computer, the arrow and bracket keys give exact nudges.
Matching colour and brightness
Every photo has its own colour cast from the light source and camera settings. A product photographed under white studio light will look too cold on a warm living room photo. The colour match control compares the colour statistics of the object with the area of the background behind it and moves the object toward them. Start around half strength and increase it until the object stops standing out, but stop before its own colours wash out. Then adjust brightness: objects in the shade of a scene should be darker than ones in direct light.
Shadows make it real
Our brains read shadows as proof that an object is physically present. Two kinds matter. A contact shadow is the dark, soft area right where the object touches the ground; without it, objects seem to hover. A cast shadow falls away from the light source and is softer and lighter the further it extends. The compositor gives you both: a soft ellipse for contact and a blurred silhouette for the cast shadow, with offset, blur and darkness. Point the cast shadow away from the light in the background photo and match its softness to existing shadows in the scene.
Layers and order
Each cut-out becomes its own layer, and layers can be reordered, duplicated, hidden or deleted. That makes it easy to place several products on one shelf, try two positions side by side, or put one object partly behind another. Undo covers every change, so experimenting is safe.
Final checks
Zoom out and look at the image as a whole, then look away and back again; mismatches in colour or scale jump out on a fresh look. Check edges for leftover background, especially around hair and handles. Compare the darkness of your shadows with real shadows in the photo. When it looks right, export the PNG at the background's resolution.
Know the limits
A browser tool cannot relight an object or change its perspective, so choose photos that already agree on light and angle. Very fine hair and transparent glass are the hardest subjects for any selection method. Within those limits, a careful composite takes only a few minutes.


&c=%237c3aed&k=images)
