[Gimp-user] Background to transparent

bhaaluu bhaaluu at gmail.com
Sun Jul 6 10:54:22 PDT 2008


On Sun, Jul 6, 2008 at 1:20 PM, Rick Ellis <ellis at spinics.net> wrote:
> In article <39016.203.11.71.91.1215321256.squirrel at www.tip.net.au>,
> Owen <rcook at pcug.org.au> wrote:
>
>>The background to all those frames are transparent?
>
> No, they're all white. I need to make them transparent.
>
> --
> http://dating.blameitonlove.com/
>
> _______________________________________________
> Gimp-user mailing list
> Gimp-user at lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>

I'm just learning how to do this myself, using the tutorial at the end of
Chapter 3 in Akkana Peck's excellent book "Beginning GIMP" ISBN 1590595874.
I'm using The Gimp 2.2 in Debian 4.0r3 Etch.

Make the background of the image transparent:
   Layer > Transparency > Add Alpha Channel
   Tools > Selection Tools > By Color Select
   Click on background color.
   Ctrl-X to delete the background color.
   File > Save

For the image you pointed to (roll.gif), I highlighted Frame 9
(in the Layers window)
which had a white background, The Add Alpha Channel was
already gray, so I did the By Color Select, then clicked on
the white Background and pressed Ctrl-X, then saved the
GIF image. (Save as Animation!)

Do this for each frame that has a white background.
I tested it by creating a simple HTML page with a black background
that displayed the modified animated GIF image. You may have to
click on several places in the background to get isolated spots
of white.

<html>
<!-- roll.html: test transparency of white background -->
<body bgcolor="black">
<img src="roll.gif">
</body>
</html>

I think I've covered all the details?
Happy Happy Joy Joy
-- 
b h a a l u u at g m a i l dot c o m
In a world without fences, who needs Gates?
Kid on Bus: What are you gonna do today, Napoleon?
Napoleon Dynamite: Whatever I feel like I wanna do. Gosh!


More information about the Gimp-user mailing list