🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Making images transparent

#88
From: Mike Humberston
Date: Sun, 14 Apr 2002 01:57
49 lines
3187 bytes
Andy Mabbett <andy@pigsonthewing.org.uk> wrote:

>well, I was thinking of "black & white" sketches and charts, like those
>at:
>
>        <http://www.westmidlandbirdclub.com/research/bbcbbs/news-3b.htm>
>
>        (NB page still unfinished draft)
>
>
>where the six smaller maps were originally like the largest.
>
>I suppose I could simply "flood" the white in the originals with the
>same background colour as used on the page, but if I ever change that,
>or where users are not seeing the background colour, that would be
>messy.
>
>(I'd be happy to see how folks would make the large map transparent)

Transparent GIFs are an absolute doddle to do if you have the right
software.

GIF files can contain Control Blocks which specify various properties
for the image blocks within the GIF file.  One of these properties is
which colour is to be considered as transparent.  Tools which allow
you to set the transparency will allow you to select which colour is
to be transparent usually by either selecting that colour from the
image's colour palette or by means of a dropper tool.  If irfanview
doesn't include this facility then get yourself GIF Construction Set
from Alchemy Mindworks:
http://www.mindworkshop.com/alchemy/alchemy.html


Then use it to insert a control block into the file before the image
block in which white is marked as the transparent colour.  This will
give you images you need.  If for any reason you can't do this then
e-mail the images to me and I will do it for you and send them back to
you.  Note the spam-trapped e-mail address.

>Incidentally, why does saving a 256-colour GIF as a 5-colour GIF
>sometimes result in a larger file?

Don't know, but some programs write comment blocks and other
superfluous blocks into GIF files which make them larger than
necessary, particularly if they are unregistered shareware.

-- 
Mike Humberston
WARNING: Spam trap in operation. Send any e-mail reply to mike, not oblivion.
Technical Details
Message-ID: <7dnhbu0d53hpvcgo61op62o05rm1cdpe8v@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!217.169.27.122!not-for-mail
References: <rcDBHNFZT$t8Ew0v@pigsonthewing.org.uk> <3cb8094b.821453@news.freeserve.net> <CUYL1Hd64Bu8Ewpe@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 18:57:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!217.169.27.122!not-for-mail
From: Mike Humberston <oblivion@philomel.net>
Newsgroups: uk.net.web.authoring,uk.comp.os.win95,demon.tech.pc
Subject: Re: Making images transparent
Date: Sun, 14 Apr 2002 02:57:11 +0100
Lines: 49
Sender: oblivion@philomel.net
Message-ID: <7dnhbu0d53hpvcgo61op62o05rm1cdpe8v@4ax.com>
References: <rcDBHNFZT$t8Ew0v@pigsonthewing.org.uk> <3cb8094b.821453@news.freeserve.net> <CUYL1Hd64Bu8Ewpe@pigsonthewing.org.uk>
Reply-To: oblivion@philomel.net
NNTP-Posting-Host: 217.169.27.122
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1018749434 1805599 217.169.27.122 (16 [140708])
X-Newsreader: Forte Agent 1.8/32.548