Amigactive (479/978)

From:Don Cox
Date:13 Oct 99 at 11:50:31
Subject:Re: Numeric Transparancy

From: Don Cox <doncox@enterprise.net>

On 13-Oct-99, Dave Naylor wrote:
> From: Dave Naylor <knocker@frost3.demon.co.uk>
>
> Hello Chaps,
>
> Sorry if this is a dumb question, but when making a transparent
> gif, how does one make a colour other than black transparent. I
> know Black is colour "0" (well it is in ImageStudio anyway) so
> what number is white, or yellow, or whatever else.

Black isn't necessarily colour 0.

A palette for a palette-based image is a list of colours. There could be
from 2 to 256 colours. (Or more in theory.)

Colour zero might be RED 00, GREEN 00, BLUE 00 which is black, but it
could be RED A3, GREEN 68, BLUE 00 which would be an orange. Or any
other colour.

Likewise colour 1, colour 2 etc can be any colour. Several might be the
same as each other.

So the palette is a list of colours in order.

What you want to do is swap two of the colours, 0 and another, and then
Remap the image so that it the appearance is restored. This is easily
done in PPaint, which saves GIFs.

Regards



Don Cox
doncox@enterprise.net

--------------------------- ONElist Sponsor ----------------------------

??? Computer Questions ==> Free Answers From Live Experts ! ! !
go to EXPERTCITY.COM
<a href=" http://clickme.onelist.com/ad/expertcity15 ">Click Here</a>

------------------------------------------------------------------------
Quote carefully and read all ADMIN:README mails