Board index » delphi » D1 bitmaps in 256 Color mode

D1 bitmaps in 256 Color mode

Someone *must* have tackled this one before...

In 256 color mode a bitmap shown by a D1 program goes horribly ugly and
gray.
Do the same with a D2 (D3?) program and all goes well.

Unfortunately the VCL source of the Graphics unit is not (downwards)
compatible. No
surprise there. My program needs to run in a WIndows 3.11 environment
(where 256 color
mode is not as silly as it sounds) so I'm stuck to D1.

Does anyone know of a solution to this problem or a tool that will solve
it?

Please mail a copy of your reply to my email address
(kry...@worldonline.nl), since my provider does funny things
with newsgroups now and then.
Thanks,
Michel
--
-----------------------------
Michel van Heuven
Krijger raadgevend ingenieursburo
Dordrecht, NL
Mailto: kry...@worldonline.nl
-----------------------------

 

Re:D1 bitmaps in 256 Color mode


Quote
Michel van Heuven wrote:
> In 256 color mode a bitmap shown by a D1 program goes horribly ugly and
> gray.
> Do the same with a D2 (D3?) program and all goes well.

I have had the same problem... also, when using 16-color images and
running
on another machine, the palette on that machine overrides the colors in
the picture and the result is very ugly. Is there any way to override
the default system palette?

I've also had images simply disappear when programs are run on other
machines than the one they were made on.

Quote
> Does anyone know of a solution to this problem or a tool that will solve
> it?

Well, is there..?

_________________________________________________________________________
Morten Br?ten                 bram...@hs.nki.no
Index web page at http://www.hs.nki.no/~bramort/

    Egyptian mysteries, magick and mummies at
http://www.geocities.com/Area51/Zone/1958/pharaoh.htm

"So we're going to fetch back some kind of jewelry from him".

"Yes, it's the crown of Fnordia, lost for centuries in the dark dungeons
of the regent's evil twin brother's tomb, but now brought to daylight by
you bold adventurers, only to once again fall into the clutches of
evil".

"But basically, we are going to steal some jewelry".

"(Sigh), yes, basically you're going to steal some jewelry".

Re:D1 bitmaps in 256 Color mode


Quote
Michel van Heuven wrote:

> Someone *must* have tackled this one before...

> In 256 color mode a bitmap shown by a D1 program goes horribly ugly and
> gray.
> Do the same with a D2 (D3?) program and all goes well.

> Unfortunately the VCL source of the Graphics unit is not (downwards)
> compatible. No
> surprise there. My program needs to run in a WIndows 3.11 environment
> (where 256 color
> mode is not as silly as it sounds) so I'm stuck to D1.

> Does anyone know of a solution to this problem or a tool that will solve
> it?

> Please mail a copy of your reply to my email address
> (kry...@worldonline.nl), since my provider does funny things
> with newsgroups now and then.
> Thanks,
> Michel
> --
> -----------------------------
> Michel van Heuven
> Krijger raadgevend ingenieursburo
> Dordrecht, NL
> Mailto: kry...@worldonline.nl
> -----------------------------

Can't you define your own palette and save the information to a file.
Now you can load up a good palette regardless of how the running
computer is setup...  You will then have no problems...?

David B. Smith

Other Threads