[7474] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: Transparent GIFs

daemon@ATHENA.MIT.EDU (hosono@si.gunma-u.ac.jp)
Wed Feb 1 21:01:35 1995

Date: Thu, 2 Feb 1995 02:27:35 +0100
Errors-To: listmaster@www0.cern.ch
Reply-To: hosono@si.gunma-u.ac.jp
From: hosono@si.gunma-u.ac.jp
To: Multiple recipients of list <www-talk@www0.cern.ch>

>>>>> Steve Cameron <stevecam@interactive.net> writes:
SC> While we're in the GIF neighborhood, is anyone aware of a method to create 
SC> transparent GIF files to be used with a browser to give a layered 
SC> effect?? 

To create transparent GIF file, I use the "netpbm" package in UNIX,
and "Transparency" in Macintosh.

In the netpbm package,

	1. giftopnm foo.gif > foo.ppm

	2. ppmtogif -transparent #rgb foo.ppm > foo-trans.gif

	where '#rgb' indicate the color you make transparent,
	e.g. #ffffff (white).

In Transparency, you click the image, selecting the color you make
transparent, and then "Save As GIF89...".

+--------------------------------------------------+
| Fumio HOSONO ( E-mail: hosono@si.gunma-u.ac.jp ) |
| Faculty of Social and Info. Studies, Gunma Univ. |
| [URL]  http://www.si.gunma-u.ac.jp/~hosono/      |
+--------------------------------------------------+

home help back first fref pref prev next nref lref last post