How to Resize a photo to any size and fill the overcrop with Generative Expand in Photoshop

Colin Smith

Subscribe on YouTube:

Generative Expand makes it easier to expand a photo in Photoshop

Adobe has released another new tool in the Generative ai family. This time, Generative Expand, makes it easier and quick to expand a photo or change its size or shape. See how to get the most out of it here.

How to Change the Shape of a photo and Fill

At this time, this feature is only in Photoshop beta. Here is a short tutorial on how to get the Photoshop beta.

Here is one of my photos. I shot it horizontal, but I want to make it vertical or square, but I don’t want to ruin the shot by cropping anything out. Generative Expand will help.

Aerial sunset photo of palm-topped headland and turquoise cove open in Photoshop Beta

Choose the Crop tool

Crop tool highlighted in the Photoshop toolbar

You will notice you can choose a ratio from the floating toolbar, or the top toolbar).

We want square so Ill choose 1:1

Crop ratio menu with 1:1 Square highlighted and Generative Expand in the bar

Drag the crop tool to the crop you want, it will be locked to a square.

You can also reposition the photo within the square.

Press generate

Square crop box extending above and below the coastal photo with Generate outlined

Photoshop will generate the area in the sky and water to expand the photo.

You have 3 variations to choose from the in properties panel.

Coastal photo expanded to a square with three variations in the Generative Layer panel

A couple of notes on this.

First of all, it is the same as generative fill and uses the same algorithm. In fact it is generative fill, but it’s saving you a few steps in making the selections. See how this works in Generative Fill

Because it’s Generative Fill, it still has the resolution limitation of 1024×1024. For posting on social media, this may be fine for some images. Here is how to get higher resolution in Photoshop Generative Fill

Let’s look at other things we can do With Generative Expand.

Crop an image to a specific size

Coastal sunset photo labeled crop to a specific size

We can crop a photo to an exact size if we want.

Choose the crop tool, make sure Generative Expand is selected. If you don’t see it, make sure you have launched Photoshop beta.

Crop options with Delete Cropped Pixels and Fill set to Generative Expand

Choose WxHxResolution

Let’s make this new image 4 inches by 5 inches at Print resolution (300 ppi (dpi once printed))

Enter 4in, 5in and 300 for resolution.

Crop set to W x H x Resolution, 4 in by 5 in at 300 px/in

Now you will see the crop shape. When you apply this, the selected area will be resized to 4″ x5″ and any transparent areas will be filled by ai generated pixels.

Tip: Tap the x key to toggle between wide and tall.

4 by 5 inch crop box over the coastal photo

When you are happy with your crop, apply it by clicking the checkmark at the top, or the Enter/Return key.

Crop extended beyond the photo with the commit checkmark circled

And here we have a beautiful crop.

Vertical 4 by 5 crop with generated sky and ocean filling the edges

Telling Photoshop what to fill with using prompts

So far, we have filled the edges based on the existing photo, and this will be enough for many people. This is how I will be mainly using it.

However, Generative Expand is capable of more, and I’ll demonstrate here.

Woman with a guitar sitting on a grassy hillside, labeled using AI prompts

Let’s expand this photo, with very specific things, maybe we are making a CD cover, or a Tunecore cover for Spotify/Apple Music. (Tunecore/Apple Music uses 3000 x3000px btw)

Woman with long hair and a headband holding an acoustic guitar on a grassy hill

Choose the crop tool and expand the image

Let make it fill the top with a mountain scene

Type in Mountains and press Generate

Crop box extended above the guitar photo with a prompt being typed

Here we go. Notice it respects the depth of field.This also lets us get away with the lower resolution generation.

Guitar photo expanded upward with generated mountains in the background

Let’s take it further

Choose the crop tool and expand the bottom.

This time, type in lake in the prompt

Crop extended to the right and below the guitar photo for a lake prompt

This is what we get, I love that it even creates the reflection.

Generative Expand in Photoshop, crop photo

I hope you enjoyed this tutorial – I have a full course On Generative Fill if you want to learn ai generation in Photoshop

Drop a comment and let me know if this was helpful.

Browse the other free photoshop tutorials here at the cafe

Download 100s of dollars worth of Photoshop adds on for free here at the Vault.

Photoshop Vault promo with a Layer Blend Modes book and a box of actions, presets and cheat sheets

Also follow me on Instagram, Tik Tik, Threads and Twitter.  for shorts and reels.

See you next time!

Colin


PS Don’t forget to follow us on Social Media for more tips.. (I've been posting some fun Instagram and Facebook Stories lately)
You can get my free Layer Blending modes ebook along with dozens of exclusive Photoshop Goodies here photoshop goodies for free

11 thoughts on “How to Resize a photo to any size and fill the overcrop with Generative Expand in Photoshop”

  1. Mr Richard Moore
    August 1, 2023 at 9:32 am

    Does anyone know when a working version of Photoshop Beta V25 will be released. The first release did not function i.e. Select and Mask. Adobe are aware of the problem

  2. August 2, 2023 at 7:25 am

    Wow, fantastic Colin. Hope its adopted into full version and not just Beta.

  3. August 2, 2023 at 9:03 am

    There was a flash notice that, still, the resolution is lowered on the generated content. When might that be overcome?

  4. donna joslyn
    August 2, 2023 at 10:03 am

    That looks seriously useful. I had to uninstall PS Beta. It kept opening and grabbing docs I was working on – even though PS 2023 was on, open and working. I’d click an image I created in 2023, and instead of opening in open and working 2023, Beta would begin to open. The only way to open the image I was working on in 2023 was to physically drag and drop it into PS2023 in the dock. Way too much trouble to waste time with. So I hope this process makes it into PS 2023 as a good working tool.

  5. Terry Syndergaard
    August 2, 2023 at 2:25 pm

    Yes, Colin, helpful as is usual for all your demos. You have presented for our OCMMA groups in the past, many thanks.
    OCMMA as a web presence is going away. We are now two groups – the Digital Creatives and my After Effects Abuser Group. Maybe we can get you to do a zoom presentation at some point in the near future….?

  6. August 2, 2023 at 3:21 pm

    Thank you Colin! Great stuff. However I have a problem … I enlarged a photo to 32 x 9 and saved it as a jpg. The process worked well, but when I tried to use it as a background across 2 screens (done it with other photos before) it reverted to the original 16 x 9 photo on each screen. Any ideas why?

  7. Ian
    August 2, 2023 at 4:06 pm

    Colin, I found the answer – use “Span” settings for background. Never needed to use “span” before!

  8. August 3, 2023 at 12:27 pm

    Colin, great video as always. Testing this on a high res raw file saved as PSD (300 resolution), I’m seeing that the expanded area is a significantly lower resolution than the original. I was aware of this limitation previously but was hoping Adobe had solved it for this capability.

    1. Colin Smith
      August 15, 2023 at 12:05 pm

      Yes, I address this in the tutorial

  9. Dennis Richardson
    August 5, 2023 at 7:50 am

    I am having trouble with Photoshop Beta Not opening photos from Lightroom Classic Command E or from Photo menu .Can you suggest any reason for this, I some times get a message back in LR that Beta can not be opened, but it is already open ???
    Help please

    1. Colin Smith
      August 15, 2023 at 12:04 pm

      I think its a known issue

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

How to make Smoke, steam and clouds in Photoshop. How to paint with the brushes, how to make the brushes...

How to Make your own LUTS in Photoshop, step by step tutorial.

How to make a page turn effect in Photoshop. Step by step instructions and video tutorial on how to make...

Copy link