← Home | Tutorials
中文 English
🔒 100% Local Browser Processing · Zero Uploads · Zero Privacy Risk

Extend a Photo’s Background Instead of Cropping It

By Web PSEditor • Difficulty: Intermediate • 7 min read • Updated: 13 Nov 2026
Same photo, new aspect ratio
Canvas Size grows the sheet, Content Fill invents the missing edges.
Open Web PSEditor & Extend →

You have a vertical shot and need it horizontal — a banner, a thumbnail, a slide. Cropping to 16:9 cuts the subject's head off. Stretching makes everyone wide. There is a third option: keep the subject where it is, grow the canvas sideways, and rebuild the missing strips from the pixels that are already there.

Tools → Content Fill does that rebuild. It requires one condition the editor enforces: the image layer must be smaller than the canvas, which is exactly the state you are in after growing the canvas.

Web PSEditor Tools menu showing Content Fill
Content Fill is third in the Tools menu. It refuses to run while the image still covers the whole canvas — grow the canvas first.

Step 1: Grow the Canvas, Keep the Pixels

Image → Canvas Size

Untick In proportion so the layers do not scale. Set the new width for the target ratio: a 1200 × 1500 photo (4:5) becomes 1920 × 1500 for a 16:9-ish banner; 1080 × 1350 becomes 1080 × 1350 → 1920 × 1350 if you want a wide social crop. The extra space appears on the right, so the subject stays anchored left.

Confirm the image layer is still selected and that it no longer fills the canvas. If Content Fill is invoked while the layer covers everything, it refuses with a message that the image already takes the whole area — that refusal is the tool telling you the canvas has not been grown yet.

Step 2: Pick a Fill Mode

ModeWhat it doesBest for
Expand edgesStretches the pixels along the layer border outwardPlain backgrounds: sky, wall, studio grey, gradient
Cloned edgesSamples small patches from the edge and repeats themTextured backgrounds: grass, gravel, foliage, fabric
Resized as backgroundScales a blurred copy behind the originalBusy backgrounds where any invented detail would look wrong

All three have a live preview, so switch between them and watch the seam before committing. The seam is what matters: a mode that looks great in the middle of the empty strip but leaves a visible vertical line at the layer boundary is the wrong mode for this photo.

Step 3: Tune the Numbers

Judgement is easiest at 100% zoom on the seam itself, then at fit-to-window to check that the eye is not drawn to the join. If you can see where the original ends without looking for it, raise Blur power by 2–3 and lower Clone count.

Step 4: Fix What the Fill Cannot Know

Content Fill only uses pixels near the edge. It cannot continue a horizon line, a road, a wall corner or a pattern that changes direction. Those need manual repair:

Clone tool for structure

Right-click to set a source point, then paint with the Clone tool to continue a horizon or a straight edge into the new area. Work in short strokes and reset the source often; one long stroke drags a visible band of the same pixels across the image.

Gradient or fill for flat areas

A solid studio background only needs the Fill tool with the sampled colour. A gradient needs the Gradient tool dragged in the same direction as the original light falloff. Both are faster and cleaner than any automatic extension.

Where It Breaks Down

Ratio Cheat Sheet

Starting from a 3:2 photo at 1800 × 1200: 16:9 needs 2133 × 1200, 4:5 needs 960 × 1200, 1:1 needs 1200 × 1200. Starting from a 4:5 photo at 1200 × 1500: 1:1 needs 1500 × 1500, 16:9 needs 2667 × 1500. Grow first, fill second, and never resize the layer in between.

💡 Grow the canvas with In proportion off, then choose the mode by background type: flat → expand edges, texture → cloned edges, busy → resized as background. Fix horizons and straight lines with the Clone tool afterwards.

Quick Answers

Content Fill says the image already takes the whole area. What now?

That means the canvas has not been grown yet — the tool only fills the gap between the layer edge and the canvas edge. Use Image → Canvas Size with In proportion unticked to add the space first, keep the image layer selected, then run Content Fill.

Which mode should I pick?

Expand edges for flat backgrounds such as sky, studio grey or a wall. Cloned edges for texture such as grass, gravel or fabric, where repeating small patches reads as natural. Resized as background when the surroundings are busy and any invented detail would look wrong.

Can I extend a photo that has a horizon in it?

Yes, but the automatic fill will not continue the line — it only samples near the edge. Fill first, then use the Clone tool with short strokes and a frequently reset source point to carry the horizon into the new area. Check the join at 100% zoom.

Web PSEditor is an independent project. Every step on this page is tested against the current build before it is published. If a menu or option has moved, tell us through the contact page and we will correct it.

Related Tutorials

🎯 Hands-on Practice 100% Local

Take a vertical photo, grow the canvas to 16:9, then compare expand-edges against resized-as-background on the seam.

Try It in Web PSEditor