Blog Detail

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

Apply transparent image background in GIMP

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 create 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 as 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:



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 "Layer" menu select "Transparency" option and click on "Add Alpha Channel" option.
  • From toolbox options click on "Fuzzy Select Tool".
  • Now click anywhere on black background of the image. This will select the black background.
  • Now press 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.

About Author

Anurag Srivastava

Author | Blogger | Tech Lead | Elastic Stack | Innovator |

View Profile

Comments (0)

Leave a comment

Related Blogs

Elasticsearch Installation and Configuration on Ubuntu 14.04

May 7, 2018, 11:55:02 AM | Lovish Sharma

Top Blogs

Configure SonarQube Scanner with Jenkins

Jun 21, 2018, 4:58:11 AM | Anurag Srivastava

Build and deploy Angular code using Python

Jun 26, 2018, 4:50:18 PM | Anurag Srivastava

Configure Jenkins for Automated Code Deployment

Jun 13, 2018, 3:44:01 PM | Anurag Srivastava

SonarQube installation on Ubuntu

May 12, 2018, 4:47:07 PM | Anurag Srivastava

Execute Commands on Remote Machines using sshpass

Jul 16, 2018, 5:00:02 PM | Anurag Srivastava

Why SonarQube is important for IT projects ?

Apr 24, 2018, 2:52:28 PM | Anurag Srivastava

Install Jenkins on Ubuntu

May 26, 2018, 6:42:02 PM | Anurag Srivastava

Analyze your project with SonarQube

Jun 2, 2018, 10:49:54 AM | Anurag Srivastava

Install Kafka on Ubuntu

Jul 12, 2018, 7:40:51 PM | Anurag Srivastava

Log analysis with Elastic stack

Jan 31, 2018, 6:11:29 AM | Anurag Srivastava