Fix a pasted-on product photo

Check light and perspective before repairing shadows.

Asset preparation6 min read

A bottle meant to stand on a photographed table looks pasted in. Work on one product and one background, keeping the cutout, tonal corrections and shadows separately editable. Fix source compatibility first: a convincing shadow cannot change the camera angle or the reflections already recorded in the bottle.

Choose a photograph you can actually place

Compare the product and destination before refining the cutout:

CompareA mismatch to catchUseful correction
Camera angleThe bottle shows much more of its top than nearby objectsUse a compatible source photograph
LightA hard highlight comes from the opposite sideChoose another source or accept a substantial relighting job
ReflectionsA window or outdoor scene remains visible on glossy packagingRetouch that reflection or change the source; a color tint cannot remove it
ScaleThe bottle contradicts recognizable objects beside itResize against those objects or make the oversizing an explicit graphic choice

Unmesh Dinda demonstrates compatible light and reflections in PiXimperfect's compositing lesson. Use that comparison to reject a poor source before spending time on its edges.

Separate brightness from color

Use an RGB document and make a temporary view without color:

  1. In Window > Layers, click the half-filled circle at the bottom and choose Solid Color. Choose a neutral gray, such as #808080.
  2. Move this fill above the entire composition and set its layer blend mode to Color. This is the inspection view from Dinda's color-matching demonstration; it should remove color while leaving the scene's light and shade visible.
  3. Select the product layer and use the same half-filled-circle menu to add Curves directly above it. Click Clip to layer at the bottom of Properties so only the product changes. Adobe's adjustment-layer instructions show this control.
  4. In Curves, leave the channel on RGB. Add a point near the center of the diagonal and move it slightly down if the product is too bright, or up if it is too dark. Toggle the Curves layer's eye to compare. The background must stay unchanged; if it moves too, repair the clipping before continuing.

Compare similarly lit surfaces. Keep detail in the label and shaded body; different materials do not need identical black and white values. Adobe's Curves guide explains the graph's shadow, midtone and highlight regions.

Hide the gray inspection layer to judge color. Add another clipped Curves adjustment above the product's tonal correction. For a bottle that looks too blue in a warm scene, choose Blue from the channel menu and move a point in the upper-right part of the curve slightly downward. This reduces blue in the brighter tones, adding yellow; upward adds blue. Dinda's Blue-channel example demonstrates that particular correction, not a setting for every scene.

Toggle the color correction and watch the label as well as the bottle. Reduce the adjustment layer's Opacity if the change is too strong. To protect one area, select that adjustment's white mask and brush black over it; white restores the correction. Stop when the light feels compatible without changing the product's identifying color.

Decide what touches what

At a standing bottle's base, first remove any visible gap between the cutout and table. Keep a small contact shadow separate from the larger cast shadow so each can be adjusted independently.

Constructed comparison: an orange bottle floats above an offset shadow on the left; on the right its base meets the tabletop with a tight contact shadow and a longer cast shadow.

Our illustrated exercise: compare the gap beneath the left bottle with the contact on the right. The larger shadow alone does not make an object touch the table.

  1. Move the bottle until its base meets the surface. Add an empty layer below the product and above the background, and name it Contact shadow.
  2. Choose the Brush tool, a soft round tip and low brush Opacity, such as 15% as a starting point. Sample a dark tone from an existing scene shadow with the Eyedropper. Paint a short, narrow patch under the point of contact, letting the bottle hide its upper edge. Build darkness gradually; reduce the layer's Opacity if it becomes a black sticker.
  3. Add another empty layer beneath it named Cast shadow. Use the Lasso tool to outline the shadow's footprint in the direction of nearby shadows. Choose Edit > Fill > Foreground Color, then Select > Deselect. The shape must begin beneath the bottle, without a gap.
  4. Right-click the cast-shadow layer and choose Convert to Smart Object, then Filter > Blur > Gaussian Blur. Increase Radius until its softness approaches a nearby shadow at comparable distance from the surface; lower layer Opacity until table texture remains visible. Adobe recommends a Smart Object for editable blur. There is no universal radius for every canvas and light.
  5. Hide Cast shadow: the bottle should still meet the table. Restore it and check the direction. If the far end needs more softness than the base, refine it separately; a uniform blur is only a starting construction.

Dinda's contact-point explanation and variable shadow blur demonstration show those separate jobs. Follow surface texture where it interrupts a shadow; random holes do not establish contact.

Apply this check when the composition shows the product resting on a surface. A deliberately floating product can keep its separation from the background.

Let the scene affect the product

If a visible colored light should reach the bottle, limit its correction to the surfaces facing that light. Use a masked adjustment, following Dinda's local-light demonstration. Compare with the adjustment hidden; a uniform colored outline on both sides may be a stroke rather than believable light.

Do this only when the scene calls for it. A global tint can obscure a label while leaving an incompatible photographed reflection untouched.

Match focus, edges, and texture

Inspect close up to identify the defect, then at delivery size to choose its strength:

Visible defectRepair to try
Pale edge left from the old backgroundRefine the mask; correct contaminated edge color separately
Sharp product placed in a blurred part of the tableMove it to a compatible area or change the source/background before softening the label
Product texture much cleaner or noisier than its settingCompare the sources, then make any matching blur/noise adjustable

Dinda's placement and focus example shows why changing placement can be preferable to blurring detail. The transparent-background guide covers residue before compositing.

Check the exported composite

Reopen the export at its displayed size and inspect the bottle, its base and its readable label together.

If it still appears detached, disable the correction most likely to cause that symptom: cast shadow for contact, color treatment for muddy packaging, blur for a soft label. Fix that relationship rather than adding another finishing effect. Use separate masks when a cutout and a lighting correction need independent revision.

Image tools
All guides