Wiki:
Page name: Making Transparent Gifs [Logged in view] [RSS]
2011-09-11 09:35:31
Last author: kittykittykitty
Owner: kittykittykitty
# of watchers: 3
Fans: 0
D20: 2
Bookmark and Share
 Slideshow 

Making Transparent Gifs

with GIMP


In this tutorial, you will be shown how to make a .gif image with a transparent background. It's rather simple using the free downloadable program, GIMP. Provide your own image :P


<img:stuff/eofdivider9.jpg>

Steps Outlined:



<img:stuff/eofdivider9.jpg>

Step 1: Downloading GIMP



GIMP is a completely free Image editing program. The official website is www.gimp.org/ and you can download from http://www.gimp.org/downloads/

You can also find some great Tutorials here:
http://www.gimp-tutorials.com/
but for this lesson all the instructions you need will be right here :)


<img:stuff/eofdivider9.jpg>

Step 2: Your Image



You can make the image however you want, such as scanning something you drew, drawing it in GIMP, or using another program to acquire it.

The Basic GIMP layout is like the screen shot below.

<img250*0:stuff/kitty_GIMPtransparentbg1.jpg>


To open an image, select from the main module like so:

<img:stuff/kitty_GIMPtransparentbg2.jpg>


Here I have chosen a Bitmap image made in MSPaint. The image has a definite black outline, which is useful as the finished transparent gif doesn't need to have a messy gradiented edge.

<img300*0:stuff/kitty_GIMPtransparentbg_2.jpg>


It's a bit to small to work with, so I'll zoom in on the image to see it better.

<img280*0:stuff/kitty_GIMPtransparentbg3.jpg>



<img:stuff/eofdivider9.jpg>

Step 3: Adding the Transparency Layer



From the menu as shown below, add an 'Alpha Layer'. Without this layer the background will not be transparent, it would be white.

<img275*0:stuff/kitty_GIMPtransparentbg5.jpg>



<img:stuff/eofdivider9.jpg>

Step 4: Erase the Background



If there is a definite outline on the image, like the one I am using, you can use the 'Magic Wand' selection tool on the part you want deleted. Hold down the 'Shift' button on your keyboard while clicking to select multiple areas at once.

You can also use the lasso tool to select the area you want to remove, which is right next to the wand tool on the GIMP interface.

<img:stuff/kitty_GIMPtransparentbg6.jpg>


Once the area is selected, simply press 'Ctrl' and X to cut it out :) The 'transparent' background will now show up as a grey checkerboard pattern.

<img300*0:stuff/kitty_GIMPtransparentbg7.jpg>


In this example, the edges are still showing up as a light shade of grey, but if put onto a dark background it will look messy.

You'll need to remove these bits manually, so get the eraser tool as highlighted below. I recommend a very small 'brush' because this is a very delicate process and you won't want to mess it up now ;) Make sure that you tick the 'Hard Edge' option, because you'll get a cleaner edge from that.

<img:stuff/kitty_GIMPtransparentbg11.jpg>


Use your new eraser tool on the pixels around the edge, being careful not to remove parts of your picture. If you haven't already, zoom in on the image so you can see it and work with it better. Rinse and repeat, and voila! An image with a completely transparent background!


<img:stuff/eofdivider9.jpg>

Step 5: Saving or Uploading the Image



Access the save menu for your image as shown below.

<img0*250:stuff/kitty_GIMPtransparentbg8.jpg> -> <img0*250:stuff/kitty_GIMPtransparentbg9.jpg>


Choose the name and folder you want to save in, then click 'Select File Type' and choose a file type from the menu.


<img:stuff/eofdivider9.jpg>

Step 6: PNGs and GIFs



If you choose to save as a 'GIF Image', you may get the following message in GIMP:

<img300*0:stuff/kitty_GIMPtransparentbg10.jpg>


Clicking 'Export' will leave your image exactly as it is, but the other options will damage the colours of the picture.

'PNG' images tend have some advantages over 'GIF' images. Making a PNG is the same as making a GIF, just saving it as a different type under 'Select File Type'.

It makes the edges smooth and doesn't mess with colouring or anything, however the file size is a bit larger. Also, PNGs don't show up on some of the older versions of Internet Explorer.

It's up to you whether you choose to save it as a GIF or a PNG.


<img:stuff/eofdivider9.jpg>

Step 7: The Finished GIF!



<Rimg:stuff/kitty_eggpet_blue.gif>
Here's the final image as it is uploaded to Elfpack! This was an entry in the Make-a-Giffie Contest, and is not for free use.

See Uploading Images for help on Uploading images to Elfpack :)

That concludes the tutorial on Making Transparent Gifs with GIMP. I hope you have learned something :)


<img:stuff/eofdivider9.jpg>

Thanks to [Bookwyrm] for the information on PNGs.
Graphics from Eyes of Frost's Graphics.
Desktop background pictured by 'BlackMago' of DeviantArt.
Thanks to the GIMP creators for distributing the program for free :D



Go or return to:
-Tutorials

Username (or number or email):

Password:

Login problems?

2007-08-03 [kittykittykitty]: Finished! :D

2007-08-03 [MarieFair]: I'll be the first to join!

2007-08-03 [kittykittykitty]: Yay x3 Well I'm glad you find it so helpful :D
Oh, I forgot to add the 'Finished Product'...

2007-08-04 [MarieFair]: kk. I'll wait.

2007-08-04 [kittykittykitty]: What are you waiting for? <img:shadN-gif.gif> I already finished the page.

2007-08-05 [MarieFair]: cuuuuuuuuuute. Well my comp time is limited. So i'll have to wait whenever I get a longer chance to make some stuff. ^^,

Show these comments on your site

News about Elfpack
Help - How does Elfpack work?