Some elements cost more effort to fix than to replace, and a set of unevenly spaced blinds is one of them. This free Photoshop tutorial swaps in a window from a completely different photo instead, tracing the room’s vanishing lines as a target, bending the new window to them with Free Transform perspective handles, then clipping a Curves layer to it so its color can be pushed to match without touching the room.
We publish a new free tutorial every week, each one with sample images and PSDs you can download and follow along with. Sign up and they land straight in your inbox, along with early word on sales, events and subscriber-only offers.

How to Replace a Window in Photoshop, No Construction Required
Some elements in a photo are more trouble to fix than they’re worth — inconsistently spaced blinds that would take forever to clean up with the Polygonal Lasso, for instance. Rather than fighting with a tricky selection, this technique swaps in a window from an entirely different photo, then uses perspective warping and a clipped Curves adjustment to make it look like it belonged there all along.
Why Replace a Window Instead of Fixing It
The original photo has a set of blinds that are unevenly spaced from panel to panel, which makes a clean selection with the Polygonal Lasso tedious and repetitive. Rather than clicking around every uneven gap, pulling in a completely different window and adapting it to fit is often faster — and the same logic applies to any element you don’t love in a photo but can’t easily clone out, from a window to a door.

Selecting and Moving a Window Into the New Image
Bringing the replacement across takes two steps and a modifier key.
-
Select the Replacement Window
Using the Marquee tool, select a window from a second photo, leaving a small border of space around its edges.
-
Move It Into the Target Image
Press V for the Move tool, then hold Shift and click-and-drag the selection from one open image into the other. Holding Shift keeps the layer centered as it drops in.
Scaling the Background to Match
The newly placed window will almost always be the wrong size relative to the rest of the image, since it came from a completely different photo.
-
Unlock and Scale the Background
Hold Option/Alt and double-click the Background layer to unlock it, then use Free Transform to scale the entire background down slightly.
-
Crop to the New Size
Hold Cmd/Ctrl and click the layer thumbnail to load it as a selection, go to Image > Crop, then deselect.
Why Downscale the Background Instead of Upscaling the Window
Scaling the small window up to match a large background would introduce visible pixelation and softness, since you’d be stretching limited pixel information across a much bigger area. Scaling the background down instead keeps the window closer to its native resolution, which means less distortion overall.
Drawing Perspective Guides to Plan the Warp
A couple of traced lines make the warp in the next step something you can aim at rather than guess at.
-
Trace the Room’s Perspective Lines
On a new layer, use bright, high-contrast colors to trace the angles already present in the room — for example, the lines the blinds follow as they recede toward a vanishing point. These lines work the same way train tracks appear to converge toward the horizon in the distance.
These guide lines exist purely to give you a visual target for the perspective warp in the next step and won’t appear in the final image.
Warping the Window Into Perspective With Free Transform
Three passes of Free Transform take the window from flat to seated in the room.
-
Line Up the Window’s Edges First
Lower the opacity of the window layer so the guide lines show through, press Cmd/Ctrl + T, hold Shift to maintain proportions, and line up the window’s edges roughly where they need to sit.
-
Apply Perspective Distortion
Press Cmd/Ctrl + T again, then hold Shift + Option/Alt + Cmd/Ctrl (Shift + Alt + Ctrl on PC) while dragging a corner handle. This converts the transform into a perspective warp instead of a simple resize.
-
Fine-Tune Individual Corners
Hold just Cmd/Ctrl and drag a single corner at a time to nudge any point that isn’t quite lining up with the guide lines, then press Enter to commit the transform.
Why Hold Shift, Option/Alt, and Command Together
Each modifier key changes what Free Transform’s corner handles do. Command/Ctrl alone lets you move one corner freely; adding Shift and Option/Alt turns that single-corner movement into a symmetrical perspective shift across the whole shape, which is what makes a flat, straight-on window look like it’s receding into the same vanishing point as the rest of the room.
Masking Rough Edges With a Layer Mask
A mask handles the join between the new window and the existing wall.
-
Add a Layer Mask and Paint With Black
Add a layer mask to the window layer and paint with black over any edges or areas that don’t need to be part of the final composite, softening the transition into the surrounding wall.
Matching Color With a Clipped Curves Adjustment Layer
Once the window is in the right shape and position, it still looks obviously wrong because its colors don’t match the lighting of the room it’s being placed into.
-
Add a Curves Adjustment Layer and Clip It
Add a Curves adjustment layer above the window, right-click it, and choose Create Clipping Mask so the adjustment only affects the window layer beneath it rather than the entire image.
-
Adjust the Blue, Red, and Green Channels
Switch between the Blue, Red, and Green channels inside the Curves dialog, dragging each curve up or down to add or remove that color until the window’s tone starts to match its surroundings. Photos often need a touch more green added, since magenta tends to be underrepresented compared to other colors.
-
Adjust the Combined RGB Curve for Brightness
Switch back to the combined RGB curve and adjust it up or down to control overall light and dark, independent of the individual color channels.
Why Clip the Curves Adjustment to Just the Window
Without clipping, a Curves adjustment layer affects every layer beneath it in the stack, including the rest of the room. Clipping it restricts the color correction to only the window layer, so you can push its colors as far as needed without throwing off the rest of the photo.
Adding Trim Details for Realism
Borrowing a piece of the room’s own trim ties the new window into the architecture.
-
Duplicate a Piece of Trim
Use the Lasso tool to select a board or piece of trim from elsewhere in the image, then press Cmd/Ctrl + J to duplicate it onto its own new layer.
-
Position It Over the New Window
Move the duplicated trim into place over the edge of the new window, flipping it horizontally if that better matches the direction of the original framing.
Merging Layers and Fine-Tuning With Hue/Saturation
A final pass settles the window into the room’s overall color and brightness.
-
Merge the Composite Layers
Shift-click each of the layers you built for the window and press Cmd/Ctrl + E to merge them into one.
-
Adjust Hue/Saturation
Press Cmd/Ctrl + U and lower the saturation and lightness slightly if the window still reads as too saturated or too bright compared to a nearby colored wall or surface.
-
Add a Final Layer Mask to Fade Edges
Add one more layer mask and paint with black to fade any remaining hard edges, blending the window fully into the scene rather than leaving a visible border.
Why This Approach Works
The whole technique rests on treating perspective and color as two separate problems solved in sequence. Free Transform’s perspective warp handles the shape: holding Command/Ctrl with Shift and Option/Alt lets a flat, straight-on window bend to match a room’s vanishing point, which is the part that makes the geometry believable. Clipping a Curves adjustment layer to just the window layer handles the color: because clipping restricts the adjustment to one layer, the window’s tone, warmth, and brightness can be pushed as far as necessary to match the room’s light without any risk of throwing off the rest of the photo. Working channel by channel inside Curves — blue, red, green, then the combined RGB curve for overall brightness — gives far more control than a single global color shift would, since a real light source rarely affects every channel equally. None of this depends on the replacement window resembling the original one in any way; a completely mismatched window can still end up looking believable once its shape and color have both been solved for.
Final Thoughts
This is a genuinely practical trick to keep in your back pocket for exactly the situations it solves: a client wants an element gone or changed and cloning it out convincingly just isn’t realistic. Photograph a replacement — another window, a nicer door, a different fixture — and this same combination of perspective warping and a clipped Curves adjustment will get it looking like it was always part of the scene. It won’t be portfolio-perfect on the first try, and a higher-resolution source photo shot specifically for the purpose will always outperform a quick demonstration, but the underlying workflow scales to any similar swap. The photo the replacement window comes from, “Baarnijs,” is by Baarnijs on Flickr.
Quick Reference: Keys, Menus and Settings
- Bring in the windowMarquee with a border, V, Shift-drag into the other image
- Shrink the backgroundAlt/Option double-click to unlock, transform smaller, Cmd/Ctrl-click the thumbnail, Image > Crop
- Size itCmd/Ctrl + T, hold Shift to keep proportions
- PerspectiveCmd/Ctrl + T, drag a corner with Shift + Alt/Option + Cmd/Ctrl; Cmd/Ctrl alone moves one corner
- Match colorCurves, right-click > Create Clipping Mask; less Blue, more Red, a little more Green, RGB down
- Add trimLasso a board, Cmd/Ctrl + J, move and flip horizontally
- Settle it inCmd/Ctrl + E to merge, Cmd/Ctrl + U less Saturation and Lightness, mask the edges
No AI, no generative credits.
Replacing a Window: Common Questions
Why replace a window instead of cleaning it up?
The blinds in this photo are unevenly spaced, so fixing them with the Polygonal Lasso means clicking around every gap again and again. Swapping in a different window is often quicker.
How do I move a selection from one photo into another?
Select the window with the Marquee tool, leaving a small border. Press V for the Move tool, hold Shift and drag it from one image into the other.
What if the new window is too small for the photo?
Scale the background down instead of scaling the window way up, so the window looks less pixelated. Alt/Option double-click the Background layer to unlock it, transform it smaller, Cmd/Ctrl-click its thumbnail and choose Image > Crop.
How do I match the room’s perspective?
On a new layer, trace a few of the room’s lines, like the angle of the blinds, in a bright color. They converge like train tracks heading to the horizon, and give you something to line the window up with.
Which keys warp the window into perspective?
Press Cmd/Ctrl + T, then hold Shift + Option + Cmd (Shift + Alt + Ctrl on a PC) and drag a corner. Hold just Cmd/Ctrl to move one corner at a time, then press Enter.
How do I make the window’s color match the room?
Add a Curves adjustment layer, right-click it and choose Create Clipping Mask so it only changes the window. Then work through the Blue, Red and Green channels and use RGB for light and dark.
Should I add or remove green in Curves?
Usually add a little. Photos rarely have much magenta in them, so a touch more green tends to help when matching color.
How do I make the new window look built in?
Borrow trim from the room. Select a board with the Lasso tool on the background, press Cmd/Ctrl + J and move it over the window’s edge, flipping it horizontally if that fits better.
The window still stands out. What else can I do?
Merge its layers with Cmd/Ctrl + E, press Cmd/Ctrl + U and lower Saturation and Lightness a little. Here it read too red next to a red wall. A layer mask then fades any hard borders.
From the Magazine View all
Stories, interviews and guides for photographers, new every week.
EditingLightCraft vs Lightroom: I Edited the Same RAW Files in BothThe free clone on the same RAW files: what matches, what breaks and who should switch.
InspirationRare Historical Photos: 13 of the Rarest Pictures Ever TakenFrom the earliest surviving picture of a person to the last passenger pigeon: who took each one and why it survives.
EditingArtCraft: Photoshop Cloned by AI in Two Weeks. Is It Legal?ArtCraft cloned Photoshop and Lightroom with AI and gave them away. Any good? Legal? Safe?
Master Photoshop, Lightroom and Photography
Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 30-day money-back guarantee.
