Find Jobs & Talent for the Web3 Revolution
Web3 Jobs

How to Use DALL-E Uncrop to Expand Images

Want to learn how to uncrop images in DALL-E 2?

When you “uncrop” an image in DALL-E, you are effectively expanding the contents of the image with AI-generated content and using an image as the source reference for only a small part of the final result.

In this guide, we’ll explain what uncropping is and how you can use DALL-E uncrop to create entire scenes from a single reference.

Let’s dive right in.

Like this content? Then share it!

How to Use DALL-E Uncrop to Expand an Image

Step-by-step guide on how to use DALL-E uncrop.
Step-by-step guide on how to use DALL-E uncrop.

Alright, so after seeing a couple of examples on the internet or maybe even watching a few YouTube videos, you’ve decided that you want to try to “uncrop” an image in DALL-E.

First of all, it’s important to note that there is no official DALL-E Uncrop feature and the built-in image editor does not support uncropping out-of-the-box.

So, you’re going to have to use a workaround in order to successfully uncrop an image in DALL-E.

This workaround requires the use of a 3rd party image editor, such as Adobe Photoshop, Affinity Photo, or any other free alternative (e.g. GIMP).

Here’s how you prepare an image for DALL-E Uncrop:

  • Step 1: Open an image editor of your choice and create a blank canvas of 1024×1024 pixels.
  • Step 2: Paste the image you want to uncrop and delete any background layers (the background should be transparent). Delete any watermarks that may still be visible.
  • Step 3: Export the image as PNG, preserving the transparency.
  • Step 4: Upload the image to DALL-E 2, place it on the canvas, and enter a prompt that describes the full image that you want to generate.
  • Step 5: Click on “Generate” and wait for DALL-E Uncrop to do its magic.

As you can see in our specific example, DALL-E took our original image of an African man in the style of van Gogh and put it into the context of our new prompt.

African painter sitting in the streets of Montmarte, in the style of van Gogh
Example of images created using "uncrop" in DALL-E.
Example of images created using “uncrop” in DALL-E.

The original reference image remains untouched and everything else around it is created based on the prompt of the full image.

Both the source image as well as the new content blend together perfectly and the overall style is maintained in all 4 examples.

Key Points (tl;dr)
  • To uncrop an image in DALL-E you must first edit it in an external image editing software, such as Adobe Photoshop or GIMP. Once you’ve prepared the image, you can upload it to DALL-E to fill in the gaps.
  • The process is referred to as “uncropping” because it is the complete opposite of “cropping” an image, increasing rather than reducing the overall image.
  • DALL-E currently does not permit users to upload real or photo-realistic images of humans for legal and ethical reasons (i.e. risk of deep fakes).

DALL-E Uncrop Examples

To give you a better idea of the power of this feature, we’ve created 2 more examples with completely different source images.

Using DALL-E uncrop unleashes potential use cases that go beyond anything that you might imagine.

1. The Golden City of Rivendell

Example of a Midjourney source image uncropped in DALL-E 2 – "The Golden City of Rivendell"
Example of a Midjourney source image uncropped in DALL-E 2 – “The Golden City of Rivendell”

2. Exploding Trump on Capitol Hill

Example of a Midjourney source image uncropped in DALL-E 2 – "Exploding Trump on Capitol Hill"
Example of a Midjourney source image uncropped in DALL-E 2 – “Exploding Trump on Capitol Hill”

Why is it Called “Uncropping”

You might be wondering why this process is called “uncropping”, but there’s a very simple explanation for it.

If you take the final image of a full scene and then reduced it down to the size of the original reference image, that would be called “cropping”.

But how did we actually get to the final image?

Right, we did the complete opposite of that and followed the process in reverse.

Hence the term “uncrop” instead of “crop”.

Unfortunately, OpenAI has chosen to not implement an official DALL-E Uncrop feature.

You might find this frustrating, but we suspect there is a very obvious reason for this.

Outpainting, however, is incredibly expensive because you need to use a lot more credits until you get a decent result.

In other words, they’re trying to promote Outpainting as a convenient (and therefore more expensive) alternative.

That being said, Outpainting also allows you to create final images with a much greater resolution, so the direct comparison isn’t entirely fair either.

Limitations of Uncropping in DALL-E

Limitations of "uncrop" in DALL-E 2 when using realistic faces of humans.
Limitations of “uncrop” in DALL-E 2 when using realistic faces of humans.

One major limitation of DALL-E uncrop is the fact that you’re not allowed to use any images that contain realistic images of humans.

That includes any type of realistic human photo, even the photo-realistic images created by DALL-E itself.

Some users have stated that you can get around this limitation by significantly blurring the original faces in the image before generating a new one.

As frustrating as this may be for many users, there are obviously good reasons for this.

There is already a lot of controversial debate about the potential dangers of AI, especially with regard to “deep fakes“.

If AI is so effective at creating photo-realistic, but ultimately “fake” imagery, how do you prevent potential abuse?

What happens when we can no longer distinguish fact from fiction, simply because an image looks real?

These are only some of the questions that are being raised within the tech industry.

Until there is more clarity on how to deal with these risks, those who operate in the industry have a massive responsibility to make sure the technology is used for good.

Frequently Asked Questions (FAQ)

Before we close off this guide, let’s quickly address some of the most common questions related to the DALL-E Uncrop feature.

  • What is “uncropping” in DALL-E?

    Uncropping is the process of taking a reference source image, uploading it to DALL-E, and asking the AI to fill the surrounding areas in order to create a larger, expanded scene. The word comes from the fact that the process feels like the reverse of “cropping” a larger image to a much smaller detail.

  • Can I uncrop generated images in DALL-E?

    There is no official DALL-E Uncrop feature in the built-in image editor of DALL-E 2. This is most likely due to the fact that the process of uncropping directly competes with DALL-E’s Outpainting feature, which requires considerably more credits. In order to uncrop an image, you will need to use external tools first and then upload the cropped image to DALL-E for further processing.

  • Why can’t I uncrop a photo of a person in DALL-E?

    DALL-E prohibits the use of real or even photo-realistic images of humans. This is an intentional limitation that is meant to prevent the use of DALL-E for deceptive purposes, such as the creation of “deep fakes”.

Conclusion

Generating a set of images from scratch is already lots of fun in DALL-E, but uncropping takes things to another level.

Imagine taking any object of your choice and embedding it into hundreds of different scenes within a matter of minutes.

The possibilities, especially in the advertising industry and absolutely endless!

Here at Tokenized, we want to help you learn as much as possible about the AI software industry. We help you navigate the world of tech and the digitalization of our society at large, including the tokenization of assets and services.

Total
1
Shares
Share
Tweet
Share
Share
Share
Pin it