"Francois Boisvert" <[EMAIL PROTECTED]> wrote:

> This works with 16 bpp or more bitmaps ... but the color masks are still not
> right for 1,4,8 bpp bitmaps, they are all the same as 16bpp ((red)0xf800
> (green)0x07e0 (blue)0x001f)

Well, that would be because with <= 8 bpp, there are no color masks;
those modes all use palettes to perform the index -> color mapping ;-)

Bye,
Ulrich

Reply via email to