Image with Transparent Background with The GIMP Software

Published on
9,062 Points
1 Endorsement
Last Modified:
Paul Sauvé
My areas of expertise include:
- system and database architecture
- IT auditing
- ITS (or Intelligent Transport Systems) for the highway
This article is in response to an Experts Exchange question Trouble cleaning a signature. Although the question concerns a scanned signature, this technique can be easily applied to any graphics file that requires a transparent background.

This technique is illustrated  using the Gimp, a free, open source image editor (http://www.gimp.org/).

Here are the steps to clean up a scanned image of a signature to create a transparent background.

Step 1 - Scan image of signature and open the file in the GIMP

Step 2 - Crop the signature AND duplicate this layer (just in case you mess up)Crop toolCrop-2I find it is a good idea to duplicate the working layer after each stepDuplicate LayerI always make the lower layers invisible to see only the layer I'm working on...Hide-show layerStep 3 - Add alpha channel (if there is none, the layer name will be in BOLD characters)TranparencyNOTE: If there is NO alpha channel, you cannot create a transparent background

Step 4 - Use the Select by Color Tool to select the background and erase with the Delete keySelect by colorThe Select by Color Tool will select all the areas of the same color, even if they are isolated from the area you click in (this does NOT happen with the Fuzzy Select Tool)

Step 5 - Clean up the extraneous spots with the Eraser ToolEraser ToolA dirty scanner glass can sometimes leave 'dirt marks' on a scanned image that should be removed with the eraser

Step 6 - Use the Select by Color Tool to select the background

Step 7 - Invert this selection (Select tab -> Invert (or ctrl-I)Invert SelestionStep 8 - Use Bucket Fill Tool (with Black foreground) to fill selection - make sure to select the option Fill whole selectionBucket fillStep 9 - You should now have an image of your signature with a transparent backgroundFinal ImageUse the File -> Export option to save as a .gif or .tif format file to preserve the transparent file!

Author:Paul Sauvé

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Join & Write a Comment

The goal of the tutorial is to teach the user how to import photos into Adobe Lightroom efficiently and to keep everything organized.
The goal of the tutorial is to teach the user how to use import presets downloaded from the internet into Adobe Lightroom. Once you downloaded the presets go into the preset folder and press import then import your preset and your set it to go.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month