Mail Archives: djgpp/2000/05/08/09:24:45
Kirill Pankratiev <kirill AT free DOT fr> wrote:
> Hello all!
> I have a problem and apparently very few people really know how to solve
> it... I would like to a 16 bit (or 24 or even 32 because since you
> know how the first works the others become trivial) color mode to
> display simultaneously 2 bitmap with different palettes
16bit modes don't *have* a palette, to begin with, so the whole
problem doesn't really exist. Allegro (and maybe other libraries) may
obscure that fact by offering a 'seemingly paletted' mode for 16bit
images, but a the heart of it, there is none.
As long as you stick with originally 8bit paletted input images (your
usual GIF, e.g.), there's one drawback to keep in mind, though: while
you can only use 256 different colors in one such images, those are
choosable from an 18bit (256K colors) color space, or even full 24 bit
ones. So a GIF is not displayable perfectly in a 16bit mode, to start
with. But mixing two GIFs on the same screen does not pose any
additional problem, either.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -