Apply transparent image background in GIMP


preview imageTechnology
by Anurag Srivastava,Dec 25, 2018, 6:17:04 PM | 2 minutes |

In this blog, I am going to explain how you can create a transparent background for an image. Many times we want to add the image on any web page or on any document but the image background creates issues because of a different color it looks like a patch instead of fitting properly on the page. For these situations, we need to change the image background is transparent so that the image can be inserted on any color surface. I am going to explain how we can apply a transparent background in Gimp 2 on Ubuntu. For example, we have the following image:



The above image has a black background which is creating the problem as I want to insert it to a white page. Now let us see how we can make the background of this image as transparent. We need to do following in Gimp 2:

  • Open the image in Gimp 2.
  • From the "Layer" menu select the "Transparency" option and click on the "Add Alpha Channel" option.
  • From toolbox options click on "Fuzzy Select Tool".
  • Now click anywhere on the black background of the image. This will select the black background.
  • Now press the delete button of the keyboard to delete the black background.
  • Now save the image by exporting it to a new file or overwrite the same image by clicking on the File menu link.

This way we can remove the background of the image to make it transparent, see below image:




In this was the black background of the above image has been removed and it is transparent now. This was just an example, you can change any background color into a transparent one as per your requirement. If you have any query then please drop your comments.


Comments (0)

Leave a comment

Related Blogs

preview thumbnail
preview thumbnail
The Dark Side of AI: How It Can Be Exploited for Terrorism

Aug 3, 2024, 8:48:09 AM | Samuel Philip

preview thumbnail
From Blogger to Author, how I wrote my first book?

Oct 5, 2020, 1:43:46 PM | Anurag Srivastava

preview thumbnail
My First Authored Publication

Jun 5, 2018, 6:30:31 PM | Anurag Srivastava

preview thumbnail
Mi watch to be launched on November 5, looks like apple watch.

Oct 30, 2019, 11:47:52 AM | jitender yadav

preview thumbnail
Mastering Kibana 6.x

Aug 9, 2018, 6:18:14 PM | Anurag Srivastava

Top Blogs

preview thumbnail
Mastering Kibana 6.x

Aug 9, 2018, 6:18:14 PM | Anurag Srivastava

preview thumbnail
From Blogger to Author, how I wrote my first book?

Oct 5, 2020, 1:43:46 PM | Anurag Srivastava

preview thumbnail
Apply transparent image background in GIMP

Dec 25, 2018, 6:17:04 PM | Anurag Srivastava

preview thumbnail
My First Authored Publication

Jun 5, 2018, 6:30:31 PM | Anurag Srivastava

preview thumbnail
Mi watch to be launched on November 5, looks like apple watch.

Oct 30, 2019, 11:47:52 AM | jitender yadav

preview thumbnail
The Dark Side of AI: How It Can Be Exploited for Terrorism

Aug 3, 2024, 8:48:09 AM | Samuel Philip