The palette of colours in Image Editor does change when I open different
bitmaps, but the palette cannot be edited, so perhaps it varies
depending on the video hardware on which the bitmap was created.
However, I think that the conclusion to be drawn is that 256 colour
bitmaps should be avoided.
Patrick Dunford wrote:
>
> There is a problem with 256 colour display mode in Windows, because it
> relies on the 256 colours that are programmed in the video hardware. If the
> colour cannot be displayed natively it will be dithered to the nearest
> available colour. Every video card has its own colour set. And, as far as I
> know, ordinary bitmaps don't have palettes that you can define, unlike GIF
> and the like.
>
> I don't know whether this addresses your particular problem.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Mason, John
> > Sent: Monday, 2 October 2000 14:40
> > To: Multiple recipients of list offtopic
> > Subject: [DUG-OFFTOPIC]: 256 colour bitmaps for button glyphs
> >
> >
> > I want to use 256 colour bitmaps for buttons, but I'm having trouble
> > with the palettes. I'm using a mix of images I've designed myself, and
> > others I've acquired, and I can't avoid some images being corrupted (I
> > assume because the bitmaps don't all have the same palette). I've
> > managed to sort this out when Windows is in 16-bit mode, but can't fix
> > it when Windows is in 256-colour mode. Is there a way of ensuring a
> > consistent palette for all the bitmaps, or should I avoid 256 colour
> > buttons in 256 colour mode?
> >
> >
> >
> > John Mason
> > Sinclair Knight Merz Limited
> > ------------------------------------------------------------------
> > ---------
> > New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> >
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
--
John Mason
Sinclair Knight Merz Limited
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz