Psychedelic BMPS
------=_NextPart_000_0090_01C00DEC.75763D20
boundary="----=_NextPart_001_0091_01C00DEC.75763D20"
------=_NextPart_001_0091_01C00DEC.75763D20
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Well, it seems I'm having some BMP problems. They just don't look right! =
If I make a BMP that uses 256 colours, and when I use it in Euphoria, =
it looks, well, groovy. By groovy I mean the entire palette seems to be =
scrambled.=20
Does Euphoria have near to none graphics capabilities or am I doing =
something wrong? I suspect the latter.=20
I've included 2 BMPs, one is the original, the other is a picture of how =
it looks in Euphoria.
+++++ Here's what I've written:
include graphics.e
include get.e
include image.e
use_vesa(1)
integer gmode
gmode=3Dgraphics_mode(18)
if gmode=3D1 then
puts(1,"Your computer cannot support this program!")
end if
sequence gtitle
gtitle=3Dread_bitmap("git.BMP")
display_image({1,1}, gtitle [2])
+++++++++++
Just thought I'd mention: I'm working on a gamer's test. I.e. a quiz on =
popular games. Is that suitable to put on the Euphoria Archive? If so, =
how do I go about doing that?
--Bye
Thomas
------=_NextPart_001_0091_01C00DEC.75763D20
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><FONT face=3DArial size=3D2>Well, it seems I'm having some BMP =
problems. They=20
just don't look right! If I make a BMP that uses 256 colours, and =
when I=20
use it in Euphoria, it looks, well, groovy. By groovy I mean the entire =
palette=20
seems to be scrambled. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Does Euphoria have near to none =
graphics=20
capabilities or am I doing something wrong? I suspect the latter. =
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I've included 2 BMPs, one is the =
original, the=20
other is a picture of how it looks in Euphoria.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>+++++ Here's what I've =
written:</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>include graphics.e<BR>include =
get.e<BR>include=20
image.e</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>use_vesa(1)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>integer =
gmode<BR>gmode=3Dgraphics_mode(18)<BR>if=20
gmode=3D1 then<BR>puts(1,"Your computer cannot support this =
program!")<BR>end=20
if</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>sequence=20
gtitle<BR>gtitle=3Dread_bitmap("git.BMP")<BR>display_image({1,1}, gtitle =
[2])</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>+++++++++++</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Just thought I'd mention: I'm working =
on a gamer's=20
test. I.e. a quiz on popular games. Is that suitable to put on the =
Euphoria=20
Archive? If so, how do I go about doing that?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>--Bye</FONT></DIV>
------=_NextPart_001_0091_01C00DEC.75763D20--
------=_NextPart_000_0090_01C00DEC.75763D20
name="original image.bmp"
|
Not Categorized, Please Help
|
|