[7480] 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 (Steve Cameron)
Thu Feb 2 06:43:29 1995

Date: Thu, 2 Feb 1995 12:17:53 +0100
Errors-To: listmaster@www0.cern.ch
Reply-To: stevecam@interactive.net
From: Steve Cameron <stevecam@interactive.net>
To: Multiple recipients of list <www-talk@www0.cern.ch>


Many thanks to all who responded with a multitude of suggestions and 
hints for layering GIFs on an HTML page.  We'll try a few.  In truth, 
after working w/HTML for a couple of years, I'm still a bit skeptical 
that this effect can actually be achieved.

/Steve Cameron


On Wed, 1 Feb 1995 bede@scotty.mitre.org wrote:

>    Date: Thu, 2 Feb 1995 01:28:52 +0100
>    From: Steve Cameron <stevecam@interactive.net>
> 
>    While we're in the GIF neighborhood, is anyone aware of a method to create 
>    transparent GIF files to be used with a browser to give a layered 
>    effect?? 
> 
> The short answer is to use netpbm (formerly called pbmplus), which I
> think you can get from ftp.x.org.  Here's a very simple little script
> which takes a GIF image and makes the color white transparent in the
> output (with the file arg renamed with "T_" as a prefix).
> 
> 
> - Bede McCall   <bede@mitre.org>
> 
>    The MITRE Corporation                      Tel: (617) 271-2839
>    Bedford, Massachusetts                     FAX: (617) 271-2423
> 
> 
> #!/bin/csh
> #
> # Make a "tranparent-background" GIF image.
> #
> /bin/cat $1 | /usr/local/pbmplus/bin/giftoppm | /usr/local/pbmplus/bin/ppmtogif -transparent white > T_$1
> 

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