How To Change Image Background in GIMP

We know a picture is worth a thousand words. Let’s say you have taken a photo with some not-so-cool background. Now having a dull background would undermine the image’s essence, so what do you do? The best way to enhance an image is to change its background. Sadly, the conventional image editors do not provide this feature and you will have to use professional editors like Photoshop or GIMP. We will be using GIMP here to change the image background.

Change Image Background In Gimp

The post will cover changing image backgrounds having a single solid color and multi-colored backgrounds as well.

Without further ado, let’s get started on how to replace the background in GIMP.

How to Replace Solid Background Color in GIMP

If the background is simple and consists of only a single color, you can use the following method to replace it. In this method, first, we need to remove the background color, and then we will add the new background.

Step 1: Launch GIMP and open the image for which you want to change the background by going to File > Open.

Step 2: When the image is added, choose the Fuzzy select or Select by color tool from the Tools panel on the left. Then click once on the background color to select it.

Once you do that, you will see that the background color is selected.

Change Background Image Gimp 1
Change Background Image Gimp 2

Step 3: With the background selected, go to Edit > Clear. Alternatively, press the Delete key on your keyboard to delete the background.

Change Background Image Gimp 3
Change Background Image Gimp 4

Step 4: Now that you have an image with a transparent background, you can add anything here. If you want to add a solid color, select the Bucket Fill tool and choose the color from color palette. Then click on the background of the image to fill it with the new color.

Change Background Image Gimp 5
Change Background Image Gimp 6

Tip: Find out how to change the background color of an image to white using online tools.

Step 5: If, however, you want to replace it with a different image, follow this step, otherwise, go to step 6.

Click on File in the top bar and choose Open As Layers from the menu. Select the image that you want to keep as the background.

Change Background Image Gimp 7
Change Background Image Gimp 8

You will see that the new background will hide your original image, as it is the top layer. Now from the Layers panel on the right, hold the mouse on the background image and drag it below the main image.

Change Background Image Gimp 9

That’s it. You will have your image with a new background.

Step 6: Lastly, you need to save the image. To do that, go to File > Export As and save the image.

Change Background Image Gimp 10

Tip: Find out how to change the color of the PNG image and text in GIMP.

How to Replace Multicolored Background in GIMP

Usually, the images don’t have a single-colored background. In such situations, we need to use the following methods.

Method 1: Use the Eraser Tool to Change Image Background

Step 1: Launch GIMP and open the image whose background you want to change from File > Open.

Step 2: Next, using File > Open as Layers, open the image that you want to keep as the background.

Change Background Image Gimp 11

Step 3: You will see that the new image will cover the original image. Now from the Layer panel on the right, hold the mouse pointer and drag the new background image below the original image. Know more about how to use layers in GIMP.

Change Background Image Gimp 12
Change Background Image Gimp 13

Step 4: Again, in the Layer panel, right-click on the original image and select Add Alpha Channel. In case the button is greyed out, it means it is already added.

Change Background Image Gimp 14

Step 5: After adding the alpha channel, again right-click on the same layer and now choose Alpha to Selection from the menu.

Change Background Image Gimp 15

Step 6: Click on the Eraser tool from the tools panel in the left and start removing the background to reveal the new one. You can change the size of the eraser in the toolbar.

Change Background Image Gimp 16

Step 7: Once you are done removing the background, use File > Export As to save it to your PC.

Method 2: Use the Quick Mask Tool to Replace Background

Another method to remove background is with the help of Quick Mask. Here are the steps:

Step 1: With the help of File > Open, load the image whose background you want to change. Then with the help of File > Open as Layers, load the new background.

Step 2: Since the new background image will cover the original image, move it below the original image from the Layers panel in the right sidebar.

Change Background Image Gimp 17
Change Background Image Gimp 18

Step 3: Right-click on each layer in the layer panel and select Add Alpha Channel from the menu.

Change Background Image Gimp 19A

Step 4: With the original image layer selected, click on the Foreground select tool from the toolbar and draw an outline for the portion that you want to extract.

Change Background Image Gimp 20A

Step 5: Now if you feel that the selection isn’t perfect, use the Quick Mask tool to refine it. To do so, first, click on the Quick Mask tool present at the bottom-left corner of the image. Your image will turn red.

Then use Mouse and CTRL or SHIFT key to add or subtract the selection.

Change Background Image Gimp 23

Step 6: Once you are satisfied with the selection, draw on the image portion to select the foreground. Then hit the Enter button.

Change Background Image Gimp 24

Step 7: Go to Select and choose Invert from the menu. Finally, hit the Delete key on your keyboard. The new background will replace your image.

Change Background Image Gimp 25
Change Background Image Gimp 26

Step 8: Then to save the image, go to File > Export As.

Tip: Find out how to remove background in GIMP using Layer mask.

Method 3: Change Background by Making it Transparent

In this method, you need to extract the portion of the image whose background you want to change and make its background transparent. We have covered the procedure to make the image background transparent in a separate post. Do check that.

Once you have made the background transparent and saved the image in .png format, open the image that you want to use as a background in GIMP using File > Open. Then with the help of File > Open As Layers, add the image with a transparent background. Your picture will now have a different background.

Play With GIMP

With GIMP, not only can you change image backgrounds, but you can also create see-through texts. Apart from that, GIMP can be used to tile images, add shadow to text, and much more. What’s your favorite feature of GIMP? Let us know in the comments below.

Next up: In case GIMP seems complicated, you can remove background from your images using 5 online tools. Check out those from the next link.

Last updated on 13 July, 2021

The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.