Mail Archives: djgpp/1999/10/25/11:52:43
Sherlock writes:
> If you are using Allegro in 16 or 24 bit color, how do you get the sprite
> functions (designed for 8 bit) to display 8-bit bitmaps at the higher
color
> depths?
The "converting between color formats" section in the manual
explains this in considerable detail. Briefly, you cannot
arbitrarily mix images of different color depths, so almost
certainly the best thing is to convert all your graphics
to the current display format while loading them in. There
are a few very specific functions which are capable of mixing
color depths in some ways, though: the docs have the details.
Shawn Hargreaves.
- Raw text -