A man in a climbing gym holds a coiled climbing rope over his shoulder. He is dressed in climbing gear and stands in front of a colorful climbing wall. An arrow points to an inset of the same image.

How to Extend a Background Using Photoshop Generative Fill

Learn how to seamlessly extend a background using Photoshop Generative Fill with our step-by-step guide, including different uses and situations.

Learn | By Ana Mireles

Shotkit may earn a commission on affiliate links. Learn more.

Did you know that you can use Photoshop Generative Fill to extend the background in your photos?

This is one of the most popular uses for Photoshop’s Generative AI tools.

In this article, I’ll explain how to extend a background using Generative Fill and when it can be useful.

Are you ready? Let’s get started!

How to Extend a Background in Photoshop Generative Fill

One of the most common uses of the Generative Fill tool in Photoshop is to extend a picture’s background. Not only is it a very useful edit, but it’s also extremely easy to use.

Here’s how.

Step 1

Screenshot of a software interface highlighting the crop tool with a cursor icon. The message reads, "Crop tool. Trims or expands the edges of an image. Learn more. Watch quick video.

Open your image in Photoshop. The floating taskbar shows the Select Subject and Remove Background options.

If you enable the Crop tool by clicking its icon on the toolbar or pressing the letter C on your keyboard, the taskbar changes the available task to Generative Expand.

Step 2

Screenshot of Adobe Photoshop 2024 with an image of motorcyclists riding on a dirt path in a mountainous landscape. The cropping tool is active on the image, and the ratio is set to Original Ratio.

To expand the background freely, click and hold any of the corners or the handles of the crop frame. Then, drag it outwards until you reach the desired size.

Step 3

Close-up of a Photoshop toolbar showing options for Straighten, Grid, settings, Delete Cropped Pixels, and Fill dropdown with a red arrow pointing to "Generative Expand.

If the Fill is set to Generative Expand on the Options bar, you can simply apply the crop, and Photoshop will generate the required content.

If Fill is set to Transparent or Content Aware, you need to change it to Generative Expand. You can do this using the drop-down menu on the Options bar or by clicking Generative Expand on the floating taskbar.

Then, apply the crop and let Photoshop do its magic.

Step 4

Screenshot of a software interface with a "Generative Layer" option. There are multiple variations of an outdoor image with two people, displayed below the prompt section.

On the Properties panel, you’ll find three variations from which you can choose. If none fits your needs, you can click the Generate button on the Properties panel to get another three.

Step 5

The Generative Fill tool in Photoshop creates a new layer because it’s a non-destructive edit. So, your original remains untouched on the background layer.

Once you’re satisfied with the result, you can go to the menu Layers > Flatten Image to merge the new layer with the background layer.

When to use Generative Expand in Photoshop

Everything sounds nice in theory, but it’s only valuable if you can give it a practical use. So, here are some situations where you might want to extend a background using Photoshop Generative Fill.

Change the photo orientation

A side-by-side comparison showing a black-and-white photo of a smiling woman in a landscape. The "before" image is vertically oriented, while the "after" image is cropped to a horizontal orientation.

Credit: İlkin Efendiyev

The Generative Expand tool can transform a landscape-oriented photo into a portrait-oriented one or vice versa without losing resolution.

Simply follow the steps from the previous section and change which side is the longer one.

Change the aspect ratio

Side-by-side before and after images show color adjustments of a person in a wheat field under a blue sky. The "before" image appears less vibrant, while the "after" image has enhanced colors.

Credit: TMS Sam

Another popular reason to expand a background in Photoshop is to change the aspect ratio.

There are many situations in which you might want to do this. Perhaps you have a square photo because you used it on Instagram, but now you want to use it as a cover photo.

Or, your camera sensor’s aspect ratio may be different from the one required by the template you’re using on your website.

A screenshot of an image editing tool displaying cropping ratio options, including original ratio, square, 4:5, 5:7, 2:3, 16:9, and various resolutions for front images and new crop presets.

Whatever the reason, you can easily change the aspect ratio using the Generative Expand tool. Simply click the Ratio button on the floating toolbar and set it to the one you want. You can also do this in the Options bar.

Now, dragging the handles from the crop bar will maintain the aspect ratio you set.

Recompose

A hand holding a drink in a glass with a straw is shown in two images labeled "Before" and "After." Both images appear to have been adjusted using photo editing software.

Credit: Adrianna CA

If you want to improve the composition of your image, you can use the overlays available on the Crop tool. To enable them, click on the dedicated icon in the Options bar.

You can toggle between overlays by pressing the letter O on your keyboard. To rotate them, hold the Shift key and press the letter O.

Once you’ve found the ideal overlay, drag the Crop handles until you’re happy with the new composition. Then, set the Fill option to Generative Expand and apply the crop.

Photoshop will generate content to fill the empty areas.

Fix an involuntary crop

Before and after images showing photo editing. The 'Before' image shows two individuals posing on a tennis court. The 'After' image has a slight color and lighting adjustment but shows the same scene.

Credit: Wesley Davi

Have you ever taken a picture and realized you cropped it too tight? Maybe you were photographing your dog and didn’t include the entire ear, or you shot a portrait and cropped the tip of the shoe.

You have nothing to fear – Photoshop Generative Fill is here to help. Simply expand the background, and Photoshop will generate the content and finish what’s missing.

Keep in mind that AI tools still have problems generating things like fingers. So, if you need to complete a hand or a bare foot, it may take quite a few tries to get it right.

Straighten images and fill empty areas 

Side-by-side comparison of a photo before and after editing. Both images show a person in light-colored clothing posing on a sandy beach. The after image appears sharper and more vibrant.

Credit: Alesia Kozik

Last but not least, you can use the Generative Fill tool to extend the background after you’ve straightened the horizon on a photo.

The Crop tool has a Straighten option, which can be found in the Options bar and on the floating taskbar.

Once you enable it, click on one side of the horizon and drag the cursor to the other, following the horizon line.

Screenshot of Adobe Photoshop 2021 with an editing window showing a person posing on a beach, surrounded by cropping guides. Several tools and options visible in the interface.

As soon as you let go, Photoshop straightens the picture. Inevitably, this will leave empty areas in the corners. If Generative Expand is enabled in the Fill options, Photoshop will generate the required pixels to make the perfect edit.

Adobe MAX Update

Photoshop is the ultimate tool for photographers, graphic designers, and visual creatives looking to take complete creative control of their workflow.

The Adobe MAX Update introduces several enhancements and new features to simplify core tasks.

With the assistance of Generative AI, these tasks include the ability to remove distracting elements from an image and streamlined processes for placing 3D elements in a 2D design.

Removal Tool – The key updates include an enhanced Remove Tool to effectively remove unwanted or distracting objects from an image without deteriorating the overall composition.

Distraction Removal – The automated Distraction Removal feature identifies people, objects, and overhead wires that may distract from the image.

Generative Fill – Powered by Adobe Firefly AI, Generative Fill allows you to build a composition with photo-realistic 3D elements, including correctly placed shadows, highlights, and perspective.

Generative Expand – Photoshop’s Generative Expland allows you to resize the canvas and use Adobe Firefly Image Mode to fill in photorealistic elements.

The Adobe MAX Updates are now live, and there’s never been a better time to optimize your creative output with the Adobe Creative Cloud suite of applications.

wed
8 Tools for Photographers

Check out these 8 essential tools to help you succeed as a professional photographer.

Includes limited-time discounts.

Learn more here

Leave a Comment