1. 256

------=_NextPart_000_0007_01C00C5E.434AAB40
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

how can I list all the 256 colors ? I`v tried everything ! But nothing =
works .

thanks

Ferdinand

------=_NextPart_000_0007_01C00C5E.434AAB40
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>how can I list all the 256 colors ? I`v tried everything ! But =
nothing=20
works .</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks</DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_0007_01C00C5E.434AAB40--

new topic     » topic index » view message » categorize

2. Re: 256

> how can I list all the 256 colors ? I`v tried everything ! But nothing
works .
Not sure what you mean by list, but these colors don't really have names.
Win32lib, for example defines only 16 colors by name, so you can reference
their rgb values by just using the name. ie:

BrightCyan      = rgb( 0, 255, 255 )

WF []

new topic     » goto parent     » topic index » view message » categorize

3. Re: 256

------=_NextPart_000_002D_01C00EE5.CC649F60
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I believe that there is an include file for the usage of 256 and 24bit =
colors. You can download it from EU archieve or ask David Alan Gay.


Thanks

-Asif

------=_NextPart_000_002D_01C00EE5.CC649F60
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I believe that there is an include file =
for the=20
usage of 256 and 24bit colors. You can download it from EU archieve or =
ask David=20
Alan Gay.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_002D_01C00EE5.CC649F60--

new topic     » goto parent     » topic index » view message » categorize

4. Re: 256

On Tue, 22 Aug 2000, Ferdinand wrote:
>
> how can I list all the 256 colors ? I`v tried everything ! But nothing works .
>
> thanks
>

-- untested code!

sequence pal

-- set up your graphics mode first.....

pal = get_all_palette()
for i = 1 to length(pal) do
 printf("Index %d is %d\n",{i,pal[i]})
end for

Now, this will only list a bunch of numbers. There aren't names attached to
these, because color[22], for example, is only a storage place for a RBG value,
which can be changed any time you load a new palette.

In other words, the palette is just an array [1..16] or [1..256] where you can
store any numbers you wish.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

5. Re: 256

On Sat, 26 Aug 2000, you wrote:
>
> I believe that there is an include file for the usage of 256 and 24bit colors.
>You can download it from EU archieve or ask David Alan Gay.
>
Euphoria supports 256 colors without extra libraries, just use the
correct mode. It will be whatever mode(s) > 18 your graphics card
supports.

To get 16 million colors, try the trucolor library :
http://members.aol.com/EnjoyCruz/truecolr.zip

Irv

new topic     » goto parent     » topic index » view message » categorize

6. Re: 256

errrrrrr
that is chris street's original truecolr.e library...
its an alpha release, and has some serious bugs in it...
he no longer supports it, and is nowhere to be found...
it is however the library i used as a base for TrueEU...
i killed all the bugs from his alpha release, sped up many
functions, added new features, and tried to glue it all together
in an easy to use fashion...neil is another good library to tinker
with for nearly all modes of graphics...
hope this helps--Hawke'
----- Original Message -----
From: irv <irv at ELLIJAY.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, August 25, 2000 11:26 AM
Subject: Re: 256


> On Sat, 26 Aug 2000, you wrote:
> >
> > I believe that there is an include file for the usage of 256 and 24bit
colors.
> >You can download it from EU archieve or ask David Alan Gay.
> >
> Euphoria supports 256 colors without extra libraries, just use the
> correct mode. It will be whatever mode(s) > 18 your graphics card
> supports.
>
> To get 16 million colors, try the trucolor library :
> http://members.aol.com/EnjoyCruz/truecolr.zip
>
> Irv
>


____________NetZero Free Internet Access and Email_________
Download Now     http://www.netzero.net/download/index.html
Request a CDROM  1-800-333-3633
___________________________________________________________

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu