<
img src="welc.gif">
to one of your HTML
documents and look at it with Netscape. You should see that the
white background of the picture is visible to the browser. Wouldn't
it look nice if we didn't have that white background showing through?
/dept/acm/packages/giftrans/1.11.1/
directory to find out the other operating systems supported. For example, if you are logged onto an IBM, then change sgi_53 to rs_aix32 or rs_aix41. If you are on a SUN machine, then use sun4c_411 or sun4m_412. I know there's a better way to do it, but for now that'll work. So, go into my public directory and copy welc.gif to your account then cd back into your account. Then type :
/dept/acm/packages/giftrans/1.11.1/sgi_53/bin/giftrans -l welc.gif
You should have gotten the following output :
Global Color Table: Color 0: Red 255, Green 255, Blue 255, #ffffff (white, gray100, grey100) Color 1: Red 0, Green 0, Blue 255, #0000ff (blue, blue1)
OK, remember the 255,255,255 stuff we got from Xv ? Well, according to the output from giftrans, that's color 0. Now type :
/dept/acm/packages/giftrans/1.11.1/sgi_53/bin/giftrans -o welc_trans.gif -t 0 welc.gif
The filename following the ''-o'' is the output file and the number following the ''-t'' is the index of the color we want to make transparent. The last thing is the name of the picture we want to make transparent. So, what we did is made color 0 in ''welc.gif'' transparent and wrote the resulting picture to ''welc_trans.gif''.