One of the most useful features of leading AI image generators is the ability to extend an image to another size and ratio. No longer are creatives "stuck" with the images they've got; you can create new images custom-tailored from the originals. Even from a single eye, artificial intelligence can fill out an entire person if we so choose.
In this article, we'll compare the capabilities of DALL-E's Outpainting feature and Photoshop's Generative Fill to see which app can extend an image better.
How to Access Generative Fill and Outpainting
You can access DALL-E's Outpainting feature from DALL-E's website. Just choose Try Outpainting from the menu in the upper-right corner. See our full guide on how to use Outpainting in DALL-E 2.
To access Photoshop's Generative Fill, you must be an Adobe subscriber. You can sign up for the Beta on Adobe Firefly's website or use Photoshop Beta. See our full guide on how to use the Generative Fill tool in Photoshop.
Let's jump into the comparisons!
1. Extending an Image of an Eye
https://www.pexels.com/photo/person-eye-865711/
Let's begin our comparison between Photoshop's Generative Fill and DALL-E's Outpainting with the most extreme example; extending the frame from a close-up of an eye. We started with a partial eye with a resolution of 1,024 x 1,024 pixels and expanded the crop to include eight same-size boxes around it.
It turns out that both Photoshop and DALL-E couldn't extend the center eye into a complete image. Instead, they could only reproduce eight individual eyes extended from the original eye.
Outpainting:
https://www.pexels.com/photo/person-eye-865711/
Generative Fill:
https://www.pexels.com/photo/person-eye-865711/
To be fair, this example only illustrates the current technology. Both applications are unable to examine the entire frame in this manner and produce a coherent extension of an eye.
But if set up differently, which can't be done in Outpainting currently, Photoshop's Generative Fill can extend the entire eye if only one selection is made from around the eye. Using the Rectangular Marquee Tool, we made a selection within the frame of the eye and then inversed the selection.
Generative Fill selection:
https://www.pexels.com/photo/person-eye-865711/
Then we just entered "female eye" as the prompt and generated a coherent extension.
Generative Fill full extension:
https://www.pexels.com/photo/person-eye-865711/
The only current drawback to this method is that the entire extension around the original eye has a maximum resolution of 1,024 pixels on the longest side. This produces a soft or slightly out-of-focus effect. And if you zoom in, you'll see that there's a lack of resolution compared to the original 1,024-pixel version.
2. Extending a Landscape Image
https://www.pexels.com/photo/person-standing-on-brown-rock-formation-near-body-of-water-3876394/
For our second comparison, we'll take a square 1,024-pixel image and extend it out to roughly twice its size as a horizontal version that's more apt for a landscape photo. We played to the strengths of both applications to produce the best results.
Outpainting:
https://www.pexels.com/photo/person-standing-on-brown-rock-formation-near-body-of-water-3876394/
We extended the generation frame out a couple of times, making sure there was good overlap so that DALL-E could make use of the pixels. "Landscape" was entered as the prompt. Used in this manner, Outpainting does a great job.
Generative Fill:
https://www.pexels.com/photo/person-standing-on-brown-rock-formation-near-body-of-water-3876394/
In Photoshop, we just overlapped one additional frame and produced a seamless extended frame. Generative Fill is very capable of producing such landscape images.
3. Extending an Image of a Person
https://www.pexels.com/photo/person-holding-a-dslr-camera-673021/
People are always a bit tricky to extend, both their clothing and limbs. At the time of writing, changing clothing with Generative Fill is possible if you don't mind different clothing as a result. Basically, don't expect to just change the color of your wardrobe. And, at present, all AI image generators have issues with hands.
But let's put Generative Fill and Outpainting to the test. Can you extend a picture of a person cropped at the chest and end up with something usable? Let's find out. Once again, we've used a 1,024-pixel square image, and we're seeking to extend the image toward the man's legs.
Outpainting:
https://www.pexels.com/photo/person-holding-a-dslr-camera-673021/
DALL-E's Outpainting did a fairly decent job filling in the details. It didn't always catch the fact that the man had one arm raised and would sometimes generate two hands in the pocket. But that's why there are four versions to choose from and the option to generate more (at the cost of credits).
Generative Fill: