🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.net.web.authoring
Article #85

Re: Making images transparent

#85
From: Martin Tanton
Date: Sat, 13 Apr 2002 10:50
24 lines
2288 bytes
On Sat, 13 Apr 2002 10:05:29 +0100, Andy Mabbett
<andy@pigsonthewing.org.uk> wrote:

>I am (using IrfanView <http://www.irfanview.com>; I have other tools
>available, including PSP) trying to save some images as transparent
>GIFs, for use on a web site - the originals are a mix of GIFs and other
>formats.
>
>
>I'm having mixed success, and don't really understand the principles
>behind what I'm doing.


The basic principal is that that when you save as a gif, the colours
are reduced to a fixed number of your choosing. Any one of these can
be chosen to be transparent. The crucial point is that only one colour
can be transparent, so you can't create gifs with smooth edges that
will simply blend with any background colour. The colour to be
'knocked out' has to be pretty close to the colour of the background
the gif will go over for the technique to be effective, otherwise you
will get horrible jaggies round the image. Unless you're trying to
blend the gif with a textured or patterned background I wouldn't
bother. Just make sure the background colour of the gif and the
background colour of your web page have the same rgb values.
Technical Details
Message-ID: <3cb8094b.821453@news.freeserve.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!newspeer.clara.net!news.clara.net!diablo.theplanet.net!diablo.theplanet.net!news.theplanet.net!not-for-mail
References: <rcDBHNFZT$t8Ew0v@pigsonthewing.org.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025cc,7e4474ffd2bb2995
X-Google-Attributes: gid1025cc,public
X-Google-Thread: 1036bc,7e4474ffd2bb2995
X-Google-Attributes: gid1036bc,public
X-Google-Thread: f5cde,7e4474ffd2bb2995
X-Google-Attributes: gidf5cde,public
X-Google-ArrivalTime: 2002-04-13 03:55:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!newspeer.clara.net!news.clara.net!diablo.theplanet.net!diablo.theplanet.net!news.theplanet.net!not-for-mail
From: martin@shadow.co.uk (Martin Tanton)
Newsgroups: uk.net.web.authoring,uk.comp.os.win95,demon.tech.pc
Subject: Re: Making images transparent
Date: Sat, 13 Apr 2002 10:50:14 GMT
Lines: 24
Message-ID: <3cb8094b.821453@news.freeserve.net>
References: <rcDBHNFZT$t8Ew0v@pigsonthewing.org.uk>
NNTP-Posting-Host: modem-3066.aardvark.dialup.pol.co.uk
X-Trace: newsg2.svr.pol.co.uk 1018695017 7357 217.134.11.250 (13 Apr 2002 10:50:17 GMT)
NNTP-Posting-Date: 13 Apr 2002 10:50:17 GMT
X-Complaints-To: abuse@theplanet.net
X-Newsreader: Forte Free Agent 1.21/32.243